My 88 EFI was doing something similar where it would start and idle fine, but wouldn't rev past 3000 rpm. Problem ended up being the fuel pump, revealed by checking the fuel pressure. I had also replaced the cap, rotor, plugs, wires and fuel filter as part of regular maintenance, but the problem wasn't solved until the fuel pump was replaced.