car accelerates by itself while driving or in park races w on 1995 Cadillac DeVille

when turn off ignition gas pedal goes to floor then up really fast for at lease twenty times or more, by itself while driving car will speed up and will not idle down when I bring the car to a stop still races then just as fast as it idles up down it goes and back up ,back and forth

3 answers
Check your throttle body internals could be the placte it's stuck it needs a needs a lube
Check your throttle cable may be it's binding
Check your gas pedal return spring to lift back your pas pedal up
Have a mechanic disconnect cruise control from the throttle linkage. See if that helps.
And just to add, the idle motor has been an issue.