telliot,
There are a few common APPS related trouble codes that can pop up. Maybe it was one of these:
P0121-ACCEL POS SENSOR VOLTS DO NOT AGREE W/IDLE VALID SIGNAL
P0122-APP SENSOR SIGNAL VOLTAGE
P0222-IDLE VALIDATION SIGNALS BOTH LOW
P0223-IDLE VALIDATION SIGNALS BOTH HIGH
In any case, assuming you don't have a wiring problem (unlikely but possible), then you have three options to replace the APPS:
Option 1 (worst choice): Buy an OEM replacement assembly from a Dodge or Cummins dealer (online or local), or an auto parts store for over $350 each. This OEM unit consists of a large cast aluminum bracket, a bell crank assembly, and a TPS (Throttle Position Sensor). Interestingly, it's just the TPS that fails and is the only thing needing replacement, but Dodge or Cummins doesn't sell the just TPS alone.
Option 2 (a better choice): Buy just a TPS from Williams Controls, the manufacturer of these devices, and install it in place of the original TPS located on the APPS assembly. This can be done for about $125. But to do this you need to fabricate a wiring harness adapter to go between the new Williams Control TPS and the Dodge wiring harness. It's not difficult, but you do at least have to know how to solder. Full details can be found in this post:
DIY APPS Instructions
Option 3 (the best): Buy just the TPS with a pre-made wiring harness adapter from one of the following sources:
Blue Chip Diesel Performance - $175
Forum member Timbo - Not sure of current price, but probably around $125-150. Send him a PM or email to inquire.
The APPS is located on the front of the engine on the driver's side. Look for the black accelerator cable coming from firewall and follow it toward the front of the engine where you'll see it go into the APPS assembly. The TPS is hidden from view on the side of the APPS until you unbolt it from the engine. Removing the APPS assembly is a piece-of-cake: First remove the black plastic cover, pop off the accelerator cable and transmission kick-down cable from the bell crank assembly, remove the 4 bolts (going from memory) holding it to the engine, unplug the wiring harness and it's off. The TPS is fastened to the side of the cast aluminum APPS bracket by two screws.
If you buy a replacement TPS from Blue Chip Diesel or Timbo, installation and calibration instructions are included.
Good luck,
John L.