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