The part you replaced is the bulb socket. I dont think its the switch, because if it was it would affect both of the lights. If you have a friend a e36, take out one of his tail lights, and put it in place of yours and see if that works. If so than you need a new tail light for that side. If not I dont know.