Accelerator Peddle Position Sensor, or something like that. Also referred to as TPS, Throttle Position Sensor.
Disconnect negative battery cables for a couple of hours. Hook them back up, turn the ignition key to run... don't start... , depress the throttle very slowly to the floor and back three times (some say only once ?) Start and drive truck.
Please create your truck profile. I assume you have a 2nd gen truck?