Sensor - noun - A device that detects or measures a physical property and records, indicates, or otherwise responds to it
Your 87 Samurai has no light sensor - what you are referring to is probably the 'service engine soon' light - it turns on every 50,000 miles - the switch that fordguy79 has told you about should turn it off.