Try your plugs and clean them. I had the same problem and it went on for weeks, got it towed twice. I was ready to give up on it.
It had been at the mechanics for months and got a new injector pump, timing chain and cost a fortune. Then it ran for 2 weeks and started doing what your describing...