If it's very consistent like that, always coming back OK after being unpowered, it could be a code problem.
As far as another possible cause, my car ran like crap when I had some plug wires die on me. It happened suddenly, one minute fine, then the next, awful. But it never recovered, even after unplugging. I ended up switching to a Z31 ECU, only to have the same problem still!