I guess this is a cam position sensor:
(The ring on ignition wire near to distributor)
The connection to harness: