resetting sketch with switch on breadboard

Where are you trying to upload the sketch from and to?

If you want to upload a sketch to your breadboard one option is to use the UNO as an ISP, which will upload the sketch to the breadboard via the ICSP interface. That needs a bit of work to set up but it's not difficult and is well documented (look for Arduino as ISP).