This is a rectangular connector housing from TE Connectivity, part number 1586018-2. It features a plug with 2 male pin contacts, dual row spacing of 4.20mm, panel mount snap-in mounting, and crimp termination.
TE Connectivity VAL-U-LOK 2 position plug housing with locking ramp fastening. Panel mount snap-in, rated 600VAC and 9A per line, accepts 26-18 AWG wire.