What causes gas pedal to stick while driving a 1996 Ford Ranger?

Take it to a mechanic ASAP. This is very dangerous. a cause of is the throttle cable fraying replace the throttle cable.