The 85 K100 had a really touchy fuel pump connector. Remove the left hand side fairing cover and you'll see it. It connects the fuel pump and fuel level sender and if it wiggles loose you'll lose the fuel pump and the engine will cut off. See picture below. The symptom is totally random and can happen 5 minutes or 2 hrs into a ride. You can also sometimes just get a hesitation, like when you're doing 70 mph and all of the sudden it feels like you totally cut the throttle. Then it will restart before you slow to 50 mph and launch you like a bucking horse and run like nothing ever happened.
The same things can happen if your EFI brain connector is not fully seated, or if your Hall Effect Sensor is going bad. If it is the Hall sensor, the cutoff will usually occur only when the engine is heated up. Then it will be hard, if not impossible to restart the engine until it totally cools down.
Make sure the fuel pump connector and EFI brain are solidly connected. They can look good, but all it takes is a little wiggle and you're hosed. If it is you Hall sensor you'll have to replace it. Not a cheap item. Can run close to $300 or maybe you can go with used on Ebay for $100. Easy replaceent if required.
