The only connection between the tail lights and the brake lights is inside the bulb. If the tail lights still come on with the brake lights you still have a grounding problem. This is caused by the brake light electricity not being able to ground normally and it's running back through the tailight filament trying to find a ground.