How can I flip the dash and underscore keys in macOS Sierra?

Solution 1:

Easily done via a custom layout made with

http://scripts.sil.org/ukelele