It will require removing the motor and opening the motor to get to the attachment points on the windings. Also some of the cord that secures the leads to the winding coils will have to be undone. Then cut the switch wires about one inch away from the crimp that holds the switch wires to the winding wires. Use your fingers to flex the remaining wire to remove any remaining insulation.
Then get some stranded wire #12 and remove about one inch of the insulation and wrap the wires tightly together and solder them together. If you can, put some heat shrink over the splices. If you can't solder don't use wire nuts I don't think that there is enough room for them. The wires have to be laid back down in the original location and re secured to the windings with some waxed cord. If you are not confident going inside the motor it is a simple repair for a good electric motor shop.
Do your wires look like this?

Bill V