How do I focus the next Control?

To focus the next Control, create a new InputEventAction and push it to the current Viewport:

var event := InputEventAction.new()
event.action = "ui_focus_next"
event.pressed = true
get_viewport().push_input(event)

History