My shortcuts stopped working yesterday, out of the blue. So I tried changing z back to Z, didn't work.
I also tried the lines you posted above, didn't work either.
Both shortcuts now invoke Live Loupe.
So I tried this (with both z and Z), but still getting LiveLoupe.
"$$$/MultiMonitor/LiveLoupeShortcut/Win="
"$$$/AgLibrary/Menu/View/ToggleZoomView/Key="
"$$$/AgDevelop/Menu/View/DepthRange/Key="
"$$$/AgDevelop/Menu/View/Mask/Key=Shift+z"
"$$$/Application/Menu/Edit/RedoWin/Key=Ctrl+Shift+z"
Interesting. I poked around some more on both Win and Mac and found more evidence that Z and Shift Z are weird. This reinforces my guess that Z is hardwired into some parts of LR and there's a race condition when the app starts about which part of the code gets assigned Z.
Shift Z on Win correctly toggles between Loupe - Live and Loupe - Normal. But Shift Z on Mac toggles between Loupe - Live and Loupe - Normal exactly once, and then it stops working until you restart LR.
But on neither Win nor Mac does Shift Z open the Secondary Display window, as Shift E (Loupe - Normal) does, even though the menu command Window > Secondary Display > Loupe - Live opens the window.
Maybe you'll have to give up on Z and use some other letter. My recently released Any Shortcut plugin makes it much easier to assign shortcuts and see which shortcuts are currently being used.