The power supply connector has two parts…one on the end of the power supply cable and the other on the motherboard of the console. If you’ve torn this connector from the motherboard of your PS4 this video shows you how to fix it. Keep in mind that to fix it correctly it will need to be soldered back onto the motherboard. Each of the 4 pins of the power supply connector need to be soldered on to the correct, correlating pin on the motherboard. This will sometimes require the use of very small wire to restore the connection.
The Replacement Part you may need:
Great Thanks to TronicsFix LLC’s Video.