When I accelerate hard the car bucks and wants to stall out until the point where I let off the gas. I checked the accelerator pump and it looked to be fine. Any ideas what else it could be.

So to be clear - when I accelerate hard the car bucks and wants to stall. After the engine has been running for a half hour it doesn't do it.
Thanks in advance.