engine starts then dies right away on 1996 Mazda B4000

truck starts then dies right away. Can smell gasoline so I know its gettig some fuel. could a bad idle air control solenoid cause this?

Asked by for the 1996 Mazda B4000
If you have a stuck or plugged idle air solenoid, then you could still keep it running with the gas pedal. I'm thinking that the fuel pump is failing and you are not getting enough gas once the engine starts so it dies. You'd smell unburned fuel because it won't burn as it gets too lean from not enough fuel pressure once it catches. I'd check the ignition system anyway, but I'd want to put a test fuel pressure gauge on it to see how the fuel pump is working for real.
Regulated fuel pressure should be about 35 PSI.
If you want to find a specialist, here's a directory link for you: