More information is needed to understand your situation.
What do you mean by "stops"? The vehicle moving forward/backward or the engine revving?
When does this happen:
After full throttle / half throttle / low throttle or after any pressure on the accelerator pedal?
Does the accelerator pedal move all the way back to the idle position when you take your foot off of it? Does it stick and the engine revs stay high? Does it return to full idle stop but move back slowly? Do you have to physically move the pedal with your foot to get it back to the idle position?
Lastly, have you opened or tampered with the accelerator pedal assembly?
It's not just a Jeep, it's an amusement park on wheels.