Connecting four wires to and from SMT PCB
I think you are looking for "wire to board" "terminal blocks".
Here are some examples
https://www.digikey.com/products/en/connectors-interconnects/terminal-blocks-wire-to-board/371?k=phoenix&amp;k=&amp;pkeyword=phoenix&amp;sv=0&amp;pv2168=i1&amp;pv1075=5&amp;pv89=216&amp;sf=0&amp;FV=ffe00173&amp;quantity=&amp;ColumnSort=0&amp;page=1&amp;stock=1&amp;pageSize=25

JSTs can be pretty small, down to 1mm pitch.  Best bet there is an amazon search to find connectors with pre-crimped wires, pins that small are hard to work with. Try a search with "4-pin JST" and read the details, I had to get some recently for my 3D printer motors, altho I needed 2mm vs 1 or 1.5mm.