You sure it's the accelerator sticking? Try and get it to do it with the bonnet open, and engine running. See if you can close the throttle by hand..
I say this because it's more likely be the idle control valve sticking open if the car just sits there and revs at 3000rpm or so.
If not, new throttle cable.