skips and cuts out above 2500 rpm on 1994 Nissan Pickup (D21)

I have replaced plugs, wires, fuel filter and checked rotor cap. Idles and runs fine up to higher rpm. Check engine light is on, sometimes. Have had it checked and estimated cost is about $1200.00! Seems pretty high to me.This problem started all at one time.102,000 miles on it.

Asked by for the 1994 Nissan Pickup (D21)
What was the code?? Then I can help you with your truck. Need the Check Engine Light Code.
Don't know the code, but, Mass air sensor was replaced amd assy cleaned for 1102.00