It is a socket to mount a Trilight lamp bulb socket to a standard electrical box or another flat surface.
Used for making a variable wattage Dim Bulb circuit tester.