When you press the gas pedal the engine dies?
No! That could never happen. Okay now for an answer. Your car sounds as if it is starving for fuel so I would start at the fuel filter. How long since it was changed? Have you had the injectors cleaned? In some cases it could be timing but I'd start with getting the fuel system checked out. By the way, Check your oil first. If you are low on oil the oil pressure switch may be turning the fuel pump off.
If the engine idles ok but dies when you press the gas pedal, check the operation of the choke and throttle baffles, that the fuel filter is not clogged, and that the fuel pump is operatong correctly. If everything checks out ok, then the problem is emmissions related (possible clogged catalyctic converter, muffler, etc).