It sounds ingenious, but dangerous. For example, what happens if you make a mistake and then immediately switch to a different window while the keyboard is deleting your mistake and then typing a correction?
Wouldn't the keyboard queue the following keypresses and only apply them once the fix has been made? So your keyboard invocation of "move to next window" would only trigger once the fix has been made?
As for reaching for the mouse, moving the cursor, clicking in the new window: wouldn't happen faster than the keyboard s autocorrect.