whats this part??

went and replaced my broken speedo cable and i noticed it didnt go straight to trans, instead it went to this small thing.

this was located bit under of brake booster on driver side inner fender.

There is one black wire.

My car has 318 904 a/c ps pb stock gauges


So whats this part?