Thanks for the insights. The reason I think it needs to be replaced is that on 3 of these 10yr old UV lights, if I give this part a whack it will start working again short term. Solder joints appear fine and no other component on the board looks suspect.
I see! You might want to give it a squeeze in the axis in the attached photo, but only with proper insulating linesman leather/rubber gloves! The two core halves could be loose. Or there could be a micro-fracture in the core somewhere, which will not be visible. Giving the core a squeeze may prove that it's a core related issues.
It would be safer to simply remove the transformer and try the same squeezing, but with an LCR meter attached across the primary winding. If you see inductance changing all over the place, then there's some damage to the core. If you don't see much change, I guess some wire could be broken, although that seems unlikely.
If it's a core issue, you could get a new core and grind a new air gap. Check the inductance of the primary winding of a good unit, and/or measure the air-gap length directly (with a caliper) to see exactly how much material you need to remove. You'd need a diamond file or a diamond wheel for a Dremel. You may wind up spending more money than the unit is worth to get the grinding supplies. But, if you love the light, you could do it. (EP core type below.)
