It looks suspiciously like a zener diode, going by the case and how it's connected in the circuit, with the anode to what looks like a ground plane and the cathode to a resistor.
I take it you're trying to repair something? What does the circuit do? How do you know the diode is faulty? There's no physical sign of damage such as charring. Do you have a schematic? It's possible it's a different component which is bad.