You need plenty of Air, Fuel, ignition, and exhaust for a engine to perform right.
1) Replace air + fuel filter
2) Do a fuel pressure test
3) Do a Catalytic converter test, a blockage will cause to stall.
The purge solenoid could have a blown fuse.
I heard of a dude spending $3.5k, on a bad fuel filter.
Also look at similar threads at the bottom of yours!