Been a while since I have needed help with my pool, things were going good for the past couple of years until now... Having issues with my pump and the power supply...posting here on the off chance someone may know what I should replace...

(I have the sp1510 model 3/4 hp but they are all the same) I replaced power supply cord a few weeks ago because my husband accidentally cut it with trimmer. Anyway it's plug & play so no issues there but now my power switch has burned out. The pumps about 7 years old but still works fine. The yellow wire that is load 2 appears brown on the clip like it got burned but could've already been that way... Should I replace switch and wire (both) or could it just be the switch or just the wire? Learning as I go, thanks for your time!