I would check fuel pressure regulator if it has fuel in top vacume hose or that hose is loose or cracks. I prefer to use subaru named brands only because subaru cars don't like aftermarket or other brand parts in my experience.
After fuel pressure regulator would be fuel rail and injectors. Then maybe bypass fuel filter if its fuel issue. But there must be other signs like at idle, normal speed, top speed response.