Engines have evolved to meet changing emissions standards. One innovation from Cummins to meet those standards was the mechanical injection P-Pump.
Failing CP4 injection pumps often present similar symptoms ... If your truck is powered by an LML Duramax or 6.7L Cummins, you could replace the CP4 pump by using a CP3 conversion kit from S ...