I was having stalling problem with my 97. If I accelerated quickly (floored it ) the service engine soon light would come on for a few days. When the light was on it would not idle. It would stall if I started coasting.
The solution was to remove the egr valve an spray it with throtle body cleaner and put it back on.