I'm new here, just have a quick question for the experts

I have a samsung HL50A650C1FXZA. About a month ago, I was playing PS3 and I started smelling a burning smell. The TV then began to turn off and turn on. It would not stop until I unplugged it. I disassembled it and recognized that the large capacitor on the ballast was inflated and some of the dielectric had seeped out of the top. I ordered a new ballast, and replaced it. Everything worked fine for about a month, then the same burning smell, same on an off, wont stop unless you unplug it. I looked, and sure enough, that same capacitor looks like its blown.
So my question is this: Is something else causing the ballast to go bad, or did I just get another defective part from the supplier?
Thanks so much for your help. I look forward to hearing from you.