This should work for you:
Attachment 55514
Best I can do with my programming knowledge. It'll open up the sound dialog, select the audio device based on which shortcut you used, set it to default, and hit OK. Should work, but I only have one audio device, so I couldn't test it... And, it should take less than 2 seconds to switch devices.