Provided that the fuel and air filters are in good condition and there are no cracked pipework, my gut feeling is that it sounds like a manifold pressure sensor, these have been known to clog up and fail. I would also check around the fuel filter for little leaking seals, as if diesel can get out, air can get in!!!