I agree with the comments made about the BMW OEM coil.
Although if you do decide to replace it, a late model Mercury outboard coil is worth considering as it is cheaper, guaranteed waterproof, is shielded against RF emission (which is an issue if you use electronics whilst riding your R65) and can be easily mounted in the R65 on a piece of 3*1" box section steel - which also provides a good heat sink. If interested I will post photos of the one mounted to my R65.
BUT, in this instance I think that you have either a fault in your ignition switch (my wife insists on having about 1lb of doo-hickys, gee-gaws and other cr@p hanging on her key ring and has bought two new ignition switches in the 35 years she has owned her R65/80 and your symptoms accurate replicate what has happened to her. By the way squiritng oil of WD40 into an electrical switch is not such a good idea as when it combines with the crud already down there it can form a conductive paste, dielectric grease if you must.
The switch can be tested with a multimeter and reference to the wiring diagram which will quickly tell you if it is not maintaining contact/current flow when it should.
The second thing to look at is your main power feed going back to the coil and electronics from the ignition switch. I have had that partially fail through fatigue near the steering head and to then leave a perplexing intermittent fault in that the bike would start and run normally but stop randomly when the wire strands inside the unbroken plastic sheath pulled apart. Ten minutes later the cursed thing would start and would seem fine - for a while.
If your switch checks out, and you cannot see any damage to the harness, there is a spare positive 12V switched output on the standard ignition switch, run a reasonably heavy "doubler cable" back to the electronics and see if that cures your problem. If it does, cut and terminate the old feed as it present a small fire risk.