From what I can see of [https://laptopmedia.com/highlights/inside-asus-rog-g752-disassembly-internal-photos-and-upgrade-options/|this] teardown video for a similar laptop, it might have to be that you have to replace the whole motherboard if you want to do it simply. There is a possibility of soldering and replacing purely the headphone jack component, but that’s out of my expertise area and pretty hard as far as I understand. I also haven’t found this part online anywhere. You can obviously bring it to a repair shop, but it would be pretty expensive. The cheapest alternative is to get yourself a pair of USB/bluetooth headphones. I have a laptop with a similar problem (except that the jack doesn’t work at all) and use USB headphones that work just fine.
Carpe Diem,
Minas