Brake light issue need help fast

When mine weren't working well, it was a bad connection at the brake socket itself. I found this out AFTER I changed out the entire wiring system in the car. Even with new light bulb sockets and new wiring, the tail lights still weren't working right. Started wiggling the sockets and sure enough that was it. I sanded the tail light housings to get good contacts on clean metal but haven't been able to check them again since. But that's where my problem lied.