boosted....
There are many thing that could be wrong with the motor. There are three things it needs to run. Think of it as a triangle. you have air, fuel and spark. Any one of those being taken away will cause the car to die. If you start it and push on the accelerator pedal will it still die? or does it only die at idle. What do the spark plugs look like, are they black, fouled sirty etc?. How much fuel is in the tank and how old is it? the basic things to start with would be, a new air filter, fuel filter, spark plugs, cap, rotor and wires. That will mostly cover your basic tuneup. Don't forget to change the oil and filter because dirty oil can cause issues also. There are several engine control solenoids and sensors that can cause poor performance or stalling. A bad piston, rod or bad valves and seats are fairly expensive things to replace and rarely go bad unless the engine was seriously pounded on, so I would start with the basics first. Besides, if it ends up being something internal and you have to tear the motor apart to fix it, once its back together youll have a brand new tuneup on it and it should run smoothe. Also, like another member asked, is the orange check engine light on in your instrument cluster?
Andy