abs light and brake light

My 2001 chevy Silverado 1500 when towing my boat. After about 50 km my brake light flashes on and off and the ABS light comes on and I lose all power; it is like the truck is in neutral. Have to coast to a stop.
Any ideas on what is causing this??
Any ideas on what is causing this??
0