Amazon has deadman switches for about $20. These are 120V switches that power an outlet. You leave the saw switch on, then press the pedal to apply power. Deadman means if your foot leaves the pedal, the motor stops. Lets you keep both hands on the work piece.
If your switch is bad, you can just wire nut the wires coming to the switch and use the pedal to power on and off.