Evaluating replacements for a likely blown capacitor
I'll ignore the question of whether it's the capacitor that has failed and talk about the design:


Yes. MD will be the manufacturer's product series.
This film capacitor looks like a metallized polyester.
The replacement could also well be metallized polypropylene. I've seen these used in the same role, snubbing the transformer in a halogen lamp power supply. The replacement capacitor has to be suitable not only for the voltage, but for the typical dv/dt seen as a result of the switching frequency used. Self-healing is also a feature of these caps.


Any old replacement with the same capacitance and voltage rating won't do. Don't put in a ceramic. You could put in a film capacitor with the same capacitance and voltage rating from a name brand and it would very probably work, but you won't get certainty without a lot more information about the design.