Any other symptoms?
If it's fuel starvation, I'd check the fuel lines from the tank to the lift pump. The lift pump sucks fuel from the tank to the engine bay. If there's a small leak in a line between the tank and the pump, it sucks in air, which starves the engine of the fuel.
Worth checking...