New weird issue

it could be getting hot and cutting out... same with the ballast resistor...

if you have new of either they are easy to swap... depending on the ballast it will have a different ohm rating but you can test it...

as for the box i dont know what to test for on those...

I don't have a new one of either kicking around but I know electronics shouldn't get to hot. So if it is really hot to touch would that be a good geusstimate diagnosis?