Thank you both for the correction. That does work!
I had only tried “Remap a key” in PowerToys. I had misread the “Remap a shortcut” option, thinking it was only app-specific, not realizing that “all apps” is an option.