i would first check for diesel/fuel at the injectors, plus correct pressure too. change fuel filter, check all air sensors, along with air filter, EGR valve cleaned and check for correct operation under vacuum pressure. then connect up to ECU (electronic control unit) which after all of the checks done above should give you a closer pinpoint of any other problems if any? good luck ..... dave