Uh, to my mind, that is NOT good news. It's possible that when you turn the bars all the way to one direction, that tugs on a loose connection at the ignition switch, but it is also possible that you have an intermittent connection somewhere in the wiring harness that originates at the ignition switch.
I would be very reluctant to head out on a 1700 mile trip with that intermittent condition present. If it changes from intermittent to 'continuously not working', you will find yourself stuck at the side of a road somewhere, needing a tow to get the bike off the road, and needing to arrange shipping to get the bike back home. Those two activities will create a big hole in your wallet.
I don't know what the construction of the ignition switch is - whether it is possible to purchase and easily install a new electrical switch assembly below the key cylinder (in other words, I don't know if the electrical switch assembly just has one or two connectors that you remove and re-connect to install a new switch), but my suggestion would be that you replace the electrical portion of the ignition switch, then see if that solves the problem 100%. If it does, great, head out on your ride. If you still have intermittent problems, then you will need to find the intermittent wire downstream of the ignition switch.
The fact that turning the bars solves the problem rules out a defective component (such as a relay) further downstream of the ignition switch.
Michael