It sounds like you might have an issue with the Idle actuator.
Many times if the actuator is is dirty, or have damages vacuum hose, it can have an impact on the idle of the engine.
You can take the valve off and clean it. Replace any brittle hose. Usually that takes care of the issue.
Here are couple of helpful articles on how to clean the valve:
I have attached the diagrams for the actuator.
You also may want to clean out the throttle body and check to see if any of the hoses are leaking.
Please let me know of any questions.
Images (Click to enlarge)
Tuesday, August 3rd, 2021 AT 10:21 AM