This maybe doesn't entirely fit your symptoms, but I had terrible problems with my TD5 cutting out, misfiring and running rough - I traced it back to a corroded earth-strap between the floor and chassis that was giving the ECU a bad earth. In the end, I ran a new wire from the battery negative to one of the ECU mounting bolts and I haven't had a problem since...