I would also check distributor shaft for wobble, if possible crank engine while watching rotor to see if it spins true.
Throttle position sensor(TPS) can get worn in certain area causing wrong mix for air flow, '87 will use MAP sensor so not as good as MAF sensor.
Also check the MAP sensors Vacuum hose, small cracks can also cause fuel mix being off.
TPS should have 3 wires, top wire is 5 volts from the computer, lower wire a Ground.
Center wire is what tells computer how much you are pushing down on the gas pedal.
Use a sewing pin to pierce the wire, Volt Meter set to DC volts
With key on, test top wire for 5volts, 4.8-5.2v is OK
With throttle closed Center wire should have under 1volt, .6 to .9 is spec
As you slowly open the throttle the voltage should steadily climb, no jumping up or down, nice and steady, when you get to Wide Open Throttle(WOT) voltage should be above 4.5volts