Probably out of a 1975 or earlier truck...
That's the TCS control switch. If you pull it out it'll likely have 3996286 stamped on one of the wrench flats.
This switch grounds the TCS relay coil. The relay opens the TCS vacuum solenoid and allows vacuum advance in fourth gear while the engine is under @94°F. Above 94°F the TCS thermal switch in the RH cylinder head bypasses the Transmission switch.
The two wire switch is reverse lamps.