As soon as I started typing Razer Synapse. Google autofilled blue screen before I even finished typing synapse. So, I'm guessing this is a frequent issue.
I'd uninstall the Razer software and see if that fixes the issue. If it does. Try downloading an older version or newer version of the drivers. Although you really shouldn't need drivers for a keyboard.
If removal fixes it and no other versions work. Look for open source software which will let you bind non-standard function keys.