Would it be the timing or in the fuel system?

I have a 2.1 1996 honda accord that stalled out on me while sitting at a red light it started back and was idling fine but once you push the gas in it starts puttin and will not really dirve everyone Is saying it has something to do with the fuel system but i was trying to get some other input. Could anyone possibly help out?

Sounds like a misfire to me. Check fuel and spark

Get your codes read.

It sounds like a fuel delivery problem, with special suspicion on the fuel filter.

You don't mention a Check Engine Light so I also suspect the EGR valve may be carboned open. That allows the engine to idle but it chokes on its own exhaust if you open the throttle and there's rarely an "excessive EGR flow" code implemented to alert you. Blocking the EGR valve off will test for a jammed EGR valve.

Check the cam timing. The timing belt may have jumped time.