So far my passenger side stop light "works when it wants to"...meaning that when I turn my lights on the light doesn't illuminate and when I apply the brakes it still doesn't illuminate. Also when I apply my right turn signal, on my dash it lights up in a solid green color. I checked the the wire for a short...no problems found; I've changed the bulb several times...and still have the same trouble of the stop light working when it wants to.
The socket grounds through the tail light housing. Before doing anything, I would pull the socket out of the housing, and touch it to bare metal somewhere in the trunk of the car. Have someone hit the brakes, turn signal, all that, to be sure it is the problem. If it is infact the ground, make sure the socket and tail light housing are free of corrosion, and make sure the tail light housing has a good clean ground to the body of the car. The housing grounds to the tail panel through the nuts that hold it on.