If you're able to reach behind the switch there's 2 metal tabs either side holding it in. Squeeze those and pull it out. Failing that just yank the thing out, you're replacing it anyway.
Don't yank it out as you most probably will tear the black vinyl covering of the dash. Take your time, if need be remove the cluster fascia to get a little more access to one of the clips.