Check the appearance before replacement. The model of the new wire harness should be the same as the original one, and the terminals and wires should be connected reliably. You can pull the connectors and wires by hand to see if they are loose or fall off. Compare the new wire harness with the original wire harness, for example, the size of the wire harness, the terminal connector of the wire and the color of the wire should be basically the same. If in doubt, before replacing the harness, use a multimeter to test and confirm that the harness is in good condition.
You can find a car dealer or an agent selling connectors. It is recommended to buy a regular connector. We are agents, too. You can ask me more questions or trust me privately.