UA 5703 then GG 9723 at O'Hare
Fargo → Chicago → Tokyo Narita
Timetable, Chicago time
15:55UA 5703 from Fargo at the gate
10:30GG 9723 to Tokyo Narita leaves the gate
18 h 35 apart on the timetable, overnight
GG 9723 leaves 18 h 35 after UA 5703 arrives on the timetable: more than half a day, so not a connection we count.