If you have a capable scan tool, you may be able to do a throttle relearn function. The teaches the throttle body the travel parameters of the accelerator pedal. And Calibrates it. You could have a faulty TPS sensor as well. You can start by removing the air intake assembly so you have visual access to the throttle body blade. Have someone help you by turning the key to the “run” position and without starting it, have someone press and depress the accelerator pedal and watch the movement of the throttle body blade. To see if it’s moving properly. And also have them hold it he pedal halfway down and hold it there and see if there’s any twitching or movement of the throttle body. To make sure the throttle body is working correctly. Also check the condition of your throttle body’s interior. Make sure a it’s not gunked up with carbon deposits or dirt. If it turns out your throttle body isn’t responding correctly then it’s most likely going to need replaced. You can also pull the harness from your throttle body position sensor and do a resistance test with a multimeter. Check to see if the resistance is changing with the movement of the accelerator pedal. But have visual access to the throttle body’s interior and blade to check its behavior when the gas pedal is depressed. Car must must be in “run” position but not started to do this. Hope this helps