4 Pin JST-XH connector with housing and pins. Commonly used on printers for connecting stepper motor wiring to controller boards.
Usually connected to matching female JST connectors Not for high current use.
To use, strip the insulation from wire and crimp the pins to each wire lead. Orientate the pin with the latch facing towards the opening on the backside of the DuPont connector. Insert the pin into the housing until it latches in place.