Based on what you have described, it sounds like there is either a bad throttle position sensor or idle control valve. If the light has been on, take it to a nationally recognized parts store and have them scan it to determine which one it is. Most will do it for free so there is no money out of pocket.
Tuesday, April 6th, 2021 AT 12:44 PM