Switch for two different supplies
The problem is ordinary switches only switch hot, but with a second source you need to switch neutral to go to that source as well.

One possible fix is to wire up a separate inlet outside wired to one receptacle inside and move the microwave plug between the "main" receptacle and this new dedicated secondary supply when needed.