Supra bogging down at 2400 rpm

I have 95 supra with the Ford 5.8L protec engine. It is electronic fuel injection. It runs great up to about 2400 rpm and then it sputters and groans and it will not accelerate. Once in a while it works perfectly and this problem never occurs in neutral. I have had this issue for a few years and I cannot seem to get it fixed. I have done the following:
Replaced the fuel (just in case there was water in the tank)
Repaced fuel lines, fuel pumps, fuel filters
Replaced all sensors
Replaced spark plugs

Please help. All suggestions welcome.
Hari