I also had a problem with a TD5 at first the fuel pump sounded like a strangled cat so changed the pump went quiet for a bit then noise started again, engine started to miss same as yours then went to cutting out and poor starting, I did the usual of pipes, filter, filter top, regulator etc but couldn't find anything wrong with them and eventually found that injector seals were u/s, it allows compression gasses back in to the fuel system, got em changed and don't miss a beat now.