I know it's a bit of a pain, but go to the link in my sig, download the parts and illustration catalogs that cover your year, look up the GM Part number, then cross reference.
Buddy has been replacing engine components in his '91 Suburban, and finding that the aftermarket is all screwed up on their part numbers. Best to use the GM PN to cross reference, and normally, unless the part number was superseded, best to look elsewhere when two different GM PN's are referenced as being replaced by the same aftermarket piece. AFAIK for '87 there should be only one temp sensor. Sensor has two wires, sender has one.