In 1987 there should be 3 parts to the EGR system
EGR Valve bolted to the intake manifold, has 1 vacuum hose
EGR solenoid, has 2 wires and 2 vacuum lines, it has 12volts with key on, computer then pulses the Ground wire on this to send a little or alot of vacuum to the EGR Valve, one vacuum hose goes to the intake manifold the other vacuum hose to the EGR Valve
EGR sensor, just has 2 or 3 wires, it tells computer how far open EGR Valve is, this is usually bolted to the EGR Valve
Image of sensor here:
https://www.ebay.com/itm/EGR-Valve-...wFbGogG&fits=Year:1987|Make:Ford|Model:Ranger