What would cause this car to shut off while driving? on 2001 Mitsubishi Galant

This happens while driving down the street. It will all of a sudden just shut off.

Asked by for the 2001 Mitsubishi Galant
2 answers
Not uncommon to see problems with crankshaft and camshaft sensor signals that can cause the ignition system to shut down that provides spark. You will need to have the system tested to determine if this is the case.
do u have any eng codes? poss crankshaft sensor is going bad