Here is a diagram showing how to connect your PX51 to a PS4 Console.
To use the Mobile Device Cable as a PS4 Chat Cable, you will need to update the firmware for your headset. You can find instructions here: PX51 - PS4 Mobile Device Cable Firmware Update