Omron E2EG-X10MB1 proximity switch. Discontinued by manufacturer. Leftovers from project. NEW, never used, but without package. Comes with two half nuts.
eBay