You need to replace the IACV (Idle Air Control Valve.) It's on the back of the motor, passenger's side. It's an 8 out of 10 on the PITA meter to replace. I've found it easier going to remove the plastic bezel (under the windshield wipers) and then disconnect the fuel lines going to the fuel rails, so that you can move them out of the way. The last time I did it, I also removed the throttle body and that gives shade tree mechanics with large hands enough room to just barely reach the two screws to replace it.
It still takes copious amounts of USMC magic words.
Be careful you don't get in a hurry to finish the job and use a wrench to screw in/start the bolts. The bolts are easily cross treaded. Start them with your fingers and use a wrench ONLY after you know you have good tread contact.