did you check the throttle position sensor?? i used to have a car that did the same thing, i changed the sensor and it ran fine after that