is that the wire connector? i have seen guys solder a new connection but it never lasts, but then what have you got to lose, if it works then seal it up with epoxy but i think PTO are not that expensive any more
Figured it out. Slip clutch bolts backed off over time and the assembly repeatedly slammed against the bracket and bent it. The entire assembly spun and broke the harness. Check the torque on the adjustment bolts so this doesn’t happen to you