Most likely you have a failed PTO switch. But you could also a failing PTO clutch that is partially shorted which would burn the PTO switch.
I have seen PTO clutches to pull over 16 amps and still operate but melt down switches, connectors, and wiring coatings depending how it allowed to operate partially shorted. Also one other possible is a wire terminal that has failed at the PTO switch creating a loose connection.