The door switch is part of the door latch assembly inside the door. These are quite a common problem on most makes of vehicles now-a-days when the interior lights don't come on when the door is opened. Some times you can get away with soaking the latch with wd40 then open and close the door a few times, then repeat.