I would start by cleaning the throttle body and Idle air sensor. Are there any codes? The IAS controls the idle when your foot is off the peddle.