The only way to test for this is when you first start the car you will have to test for spark at the plugs. Then you would have to test fuel pressure that way if you have no spark or low or no fuel pressure then we would know which system to look at and test the ignition or the fuel. Also the PCM may have code stored in it even if the check engine light is not on Auto- Zone will scan it for free, this is what I would do first. I have had a few do this and there are a few possibilities.
1. fuel runs back to tank from pump check valve going bad.
2. Sensor, O2, coolant , mass air flow, Idle air going bad.
Does the car start then stall?
PLEASE -Remember that your Expert will not be paid until you accept an answer and complete the process. Please leave "FEED BACK".