When I hit a bump the vehicle idles up, is it in throttle cable? on 1999 Dodge Durango

Happens when I hit a bump. If Im on a very bumpy highway, it will idle up and down continuously. Not sure if its in the transmission or the throttle.

Asked by for the 1999 Dodge Durango
do u have any ck eng light on?
no, there is no light indicators. the only light on right now is the brake light. just replaced the master cylinder and still have no brakes. thats a different problem.