strip out the rear light unit, and check for corrosion around the various light connection points or for (moisture in the light unit.is a very good conductor causing the light bulbs to link up mysteriously ) i would also check that the earth connection back to the body is clean and tight .
wirecutterman
December 2009