I would check the fuel pressure when it stalls. You can borrow a fuel pressure gauge AutoZone with a refundable deposit. Simply hook the gauge up to the valve on the fuel rail, turn the key on, and see what it reads. Then start the car and record that reading too. Let the car idle until it shuts off, and check it again. Here is a more specific guide on that:
https://www.2carpros.com/articles/how-to-check-fuel-system-pressure-and-regulator
Your readings should be: With the key on, engine off - 38-44psi, with the engine idling - 31-37psi. When the engine turns off, the car should hold at least 21psi for five minutes. Any less than these numbers tells us that you got a dud of a fuel pump (rare, but it happens. I got one recently myself).
If it is not fuel related, then it is time to check sparks. You can buy a spark tester for about $15.00 at AutoZone. Hook it up to any cylinder, start the car and let it idle until it shuts off. Then have a helper turn the key and observe.
Here is the tester that I use:
https://www.amazon.com/Lisle-20610-Inline-Spark-Tester/dp/B0002STSC6/ref=sr_1_3?ie=UTF8&qid=1501325755&sr=8-3&keywords=spark+tester
Finally, some specifics would be helpful here. Which engine do you have? And is your car an automatic transmission or manual?
Let us know what you find and we will go from there.
Thursday, January 21st, 2021 AT 2:36 PM
(Merged)