there is two options:
a. I hope you got a desolder station or a very good pump...
b. if not, break away all the pcb around the dipswitch and between the legs so they are separate.
then you can desolder the pieces of broken pcb off one by one...
(the opposite of the "ic cutout - desolder separate pins technique"
but i am not sure the dipswitch will survive method B
