I am having a problem with a tube fluorescent light that turns on and works fine for a while then shuts off. Sometimes if I turn off the switch and wait a few minutes, it will come back on when turning the switch on. It always turns on after being off for several hours. This is the first I have had troubles with the light fixture since getting our house 5 years ago. It seems like a new fixture (i.e. made in the last 10-15 years).
I doubt the bulbs are the problem as they both work fine when it is on. Looking at this link and this other question I think the problem is either the inductive ballast or the preheat/starter. I am not actually sure if the light is a preheat or rapid-start fixture, my guess is rapid-start. This would mean I should replace the ballast right? These seem to be 15-40$ at Home Depot, is that the best place to go? I assume taking the old one into the store and matching it is the best option right?
Do you have other recommendations?