How to script a global keyboard shortcut in MacOS
Well, if you want to set the "Move focus to next window" to ⌘ ⇧ § you'll obviously also need two modifiers along with the § key. (Your screenshot is contradictory to this, though.)

Your script has to contain an additional "$" here: '{"Move focus to next window"="@$§";}'.
Maybe this will work?