ooh! I didnt even think of replacing with aftermarket. Prolly a good idea seeing as mine is nearly 14 years old
If you can live with some 'ugliness' -
I'm not sure you need to replace it just yet. While on some cars, the fuel pump is a replaceable item as part of a service schedule, I see no mention of this in my service manual.
Fwiw, I have a 40 year old Mercedes-Benz which still has the original Bosch D-jet fuel pump. So they do last (on some vehicles at least) a fair while. It purely depends on how much shit fuel you put through the pump over time, or if you run it dry (big no-no).
the thought of having to replace it however, sends a shiver through my tailbone. last quote was $1500 for a new one. Ouch. I'd suspect Ducati would charge at least a couple hundred for a new one.