OK, let's start by finding out whether you do have an "air in fuel" issue. If you have a Caterpillar secondary fuel filter with manual fuel pump, that is VERY easy. Unscrew it (knob counter-clockwise). Pump it (in/out). If easy, you have air in the system. If it is very hard to pump-- no air. Be sure to relock the knob by turning it clockwise.
Air can enter the fuel system from a leak on the suction side of the system (same as on any diesel). So, fuel lines, fuel filter(s) need to be inspected. Remember, since this is on the suction side, it is unlikely that fuel will leak OUT-- instead, air can leak IN.
If you prove the fuel system OK, next thing I would do is go to a Caterpillar dealer and have them check for codes.