![Image](https://i.postimg.cc/HWvT5kRb/20220315-132803-2.jpg)
After some searching online I believe the two disconnected wires in the picture are what's left of a flyback diode. If I understand it correctly the diode is in place to prevent spikes in negative voltage going back and arcing across the switch when the switch opens and +12V is disconnected.
![Image](https://i.postimg.cc/PrHQWdDr/Flyback-Diode-Open-Circuit-with-Flyback-Diode.jpg)
I have since replaced the Amazon fuel pump with a new one but I don't have the root cause as to why the old one failed or any confidence that the same thing wont happen to the new one.
1. What would cause the pump flyback diode to fail like this?
2. Where can I find what kind of diode this is to solder onto the old pump to see if it can be repaired?