Test the batteries, but shutting off while driving seems to indicate your batteries were not being charged. It takes a LOT of amps to crank one the these engines, which require a strong vehicle to jump off and LARGE jumper cables if your batteries have completely gone dead.