Do you have an ohm meter? Or did the new switch come with a diagram showing the contact positions?
With the PTO switch in the "off" (pushed in) position, 2 of the terminals will be "closed" (connected) and 2 will be "open" (not connected).
You will need to identify which 2 are "closed". The yellow wire and the purple wire will go on these 2 terminals.
When the switch is pulled to the on position, the 2 closed terminals will open, and the 2 open terminals will close.
The 2 blue wires will go on the 2 terminals that are closed when the switch is pulled.
It was most likely wired wrong, and may have blown a fuse.