Could be the fuel pump. To check for sure take the air cleaner off (or the "neck" that goes to the air cleaner) and spray some carb cleaner or starter fluid in it pointing toward the motor. If it runs for a second that tells you there is a fuel delivery problem. You might want to start by checking the fuse to your fuel pump. Sometimes the obvious can be overlooked.
When my alternator went, my radio first shut off and then the car died
Losing spark, fuel or compression. The first answer regarding fuel loss is good spot to start. Other insights to this: If it cranks but doesn't start, you can eliminate the charging system mention in answer 2. IF it cranks faster than normal but doesn't start, suspect the timing belt.
Guys! One REAL common reason cars quit running while being driven is Broken Timing Belt. Pull the distributor cap and try turning the motor over--if the engine turns and the rotor in the distributor doesn't, the timing belt's your problem.
Peeing off the side
check fuel pump or ignition system
Check timing/timing belt
I would need a little more information about your problem. Did the check engine light come on? After it shut down did it start back up? How were you driving when this occured?
Change the fuel filter first,
Check timing belt
fuel pump?
its your pump
Yes! I got a 1994 MX6 and it would shut down while driving when your oil is low.
your alternator is going bad
only if you download while shut off is in operation
A bad timing belt could make the engine shut down but it would only happen once, not sometimes.