Defective prizm

i have done mechanic work most of my life and can’t figure out whats happening with this car. it’ll idle fine but when u give it fuel it’s like it cuts out. have changed fuel pump,timing,and checked most sensors any good advice would be greatly appreciated?! 2000 chevy prizm twin cam toyota motor same as corolla

Connect a live data scanner and observe the inputs. MAF might be a good line to begin on.

checked resistance on it. it will rev now and then threw the throttle but it just wont stay it’s smooth when revving. do u know if it has a shut down switch?