Timer tmr = new Timer(); // Create class-scope variable:
Note: if the field on which you want to move the focus is next in the tab order, no need for a timer; just simulate a Tab key press, with SendKeys.Send("{Tab}");.
SendKeys.Send("{Esc}");
tmr.Interval = 100; // 0.1 seconds
tmr.Tick += SetNewFocus; // Method that will move the focus
tmr.Start(); // Launch countdown
Tip: the first line uses SendKeys to simulate a key press event (the Escape key deselects the text). Without the timer, the key press only fires when the focus has shifted to the target control.
private void SetNewFocus(object sender, EventArgs e) {
NewTargetField.Focus(); // replace with your target field's name
tmr.Stop(); // Clear the timer
}