First of all, you need to make sure that it is the switch. To test if it is the switch you open the driver door so the dome light is on, watch the dome light while you press the window switch, if the dome does not dim then it is the switch, if the dome light goes dim then it is not your switch.
The switch itself is pressed on to the hole in the console. it is holding by the plastic tabs. You can carefully pop the switch upward with a real thin pocket knife or screw driver.