+1 to Tuco and Elipten.
Fuel pump well-being and longevity seem to be connected to fuel, miles and maintenance. A pump that runs often, within plenty of clean fuel, with its filters inspected, and with its hoses in good shape likely will run longer than one that is pumping through partially obstructed filters and lines within a half-filled tank of stale fuel for short distances. My bike is a 1995 with 50k miles. It appears to have its original pump. Its filters have been replaced. I have the pump's after-market replacement standing by.
I think what's more likely to cause a K engine to "just die" will be an electrical connection. My bike "just died" two days after I bought it. I was on a lightly traveled rural gravel road. The bike just shut down right there. I really didn't know its operating system, I bought it just because liked how it felt to ride. I checked the fuel level in the tank. I started an electrical check. I checked the fuses and battery connections but then I discovered the ECU plug—obviously a critical component although damned if I knew why. Its problem wasn't obvious though; the plug wasn't hanging loosely. It was just that its latch tab—once I found it by looking through the handbook—had no tension.
Apparently, when the battery had been reinstalled that April, the ECU plug hadn't been latched securely after its holder had been installed the frame. The plug had started backing off its connection while I was pounding over the road's rills and gullies. When it loosened sufficiently, the show stopped right there, next to the river. I pushed it firmly into its connector, pushed the latch closed, pulled on the plug to be sure it was secure then away I went. Later I pried the spring steel latch to give it more closing tension—no failure since then.
So there's the ECU plug, and the instrument panel main plug and the right-side four-pin connector to be certain connections are relatively clean and tight; the ignition switch, too. Failures with any of them can be show stoppers—not necessarily dead at once but stumbling, twitching, coughing, starting and stopping until you've torn out all your hair and wind up riding the bike on a trailer while somebody tows you around for sightseeing.