Could be a clogged or partially clogged fuel filter, and/or the fuel pump itself. The asker doesn't say whether the car will restart immediately after is stalls or not.
The alternator is most likely the problem
1991 mitsubishi eclipse 2.0L starts 2 to 3 seconds later shuts off
I had the same problem on a 1984 Mazda Rx7 and it turned out to be the PCM (power control module).
It depends on how long the car stays running for. If it turns over and then shuts down after a few seconds and sputters it could be a fuel filter. If the car runs for a few mins and then dies out it could be a computer problem. The ECM might be starting to go.
very hard to say but sounds like an immobilizer problem, or it is not getting adequate fuel flow...
the ignition switch could be bad
Q.Your car starts then seconds later it shut off what wrong A. that must be some crappy car
96 olds 88 runs for 20-30minutes shuts off wait 10 minutes starts up
My car starts but it shuts off it says ck engine
The car ran out of gas, we put gas in the car and it won't run for longer than 3 seconds
Partially clogged fuel filter or weak fuel pump. Replace the fuel filter.
while driving along the car shuts off up on stepping on gas pedel the car re starts