Great plugin/macro! Unfortunately, I'm having the same problem with this, a simpler version I tried to make for myself, as well as @JMichaelTX 's from here.
In all of these, the correct tab is selected but the chrome window is not set to frontmost. In other words, if I have only one chrome window open everything works perfectly but if I have 2 chrome windows open and the opposite window is currently focused, "AXRaise" is not working at all to switch to the window with the desired tab.
Mac version: 10.14
Chrome version: 72.0.3626.121
KM Version: 8.2.4
EDIT: taking a closer look the following Applescript works fine for me with "Safari", but not at all with "Google Chrome"
tell application "System Events"
tell application process "Google Chrome"
tell (window 2) to perform action "AXRaise"
end tell
end tell