I had the exact issue you described. I took the car in and they spent a day and a half checking the wires, the plugs, fuel pressure, etc. but nothing worked.
Then they noticed that the "main vacuum distribution" was loose. They tightened that up and the problem was solved.
I hope your problem is as easily solved as this.