I'm only an owner, not a mechanic. But, I had a similar problem on a GMC sonoma a few years ago.
Everybody who is telling you not to drive the car in this condition is absolutely right.
My mechanic pulled the codes - it was a multi-cylinder misfire. He replaced the plugs and wires, and an O2 sensor. It worked for two months and the problem re-occurred. He put in a part called a "fuel injector spider" and that fixed it.
It could be a problem along those lines, but this is complete speculation based on a different kind of vehicle. You really need to find out what the CEL codes are.