This sounds like the problem I was chasing a few months ago. Bike ran great for about 50 miles then would quit, not to start again until the next morning. I cleaned every electrical conector I could find on the bike, replaced the fuel pump, pump dampher, fuel filter and hoses inside the tank with the appropriate BMW hoses, still the problem persisted.
It was the fuel sender. When the bike would warm up, the wires from the four pin connector going to the fuel sender would lose condinunity and cut off power to the fuel pump. Replaced the fuel sender with a new one, bike runs perfectly for the last 300 miles.
The next time it quits, push the starter button and let go, listen for the fuel pump to run for about 1 ½ seconds after you let go of the button. If it does not, the pump is not getting power.
I found my problen with the help of members of this forum, be patient, take their suggestions, these are great bikes but a little quirky at times.