I don't know what type of signal the Cummins engines use for TPS but the Cat engine uses a PWM signal. Also, the TPS is powered with 8 volts from the engine ECM. You can replace just the sensor. You'll need to change the wiring also for 8V supply.
I have a 96 Pete that came from factory with a Cummins but have since put a C-15 in it what I'm wondering if there's a difference in the throttle position sensor from a Cummins to a Cat.at times you give it fuel but it stays at idle.If anyone can help I would be most grateful thanks Tommy 171