UA 1504 then GG 9723 at O'Hare
New York LaGuardia → Chicago → Tokyo Narita
Timetable, Chicago time
17:20UA 1504 from New York LaGuardia at the gate
10:30GG 9723 to Tokyo Narita leaves the gate
17 h 10 apart on the timetable, overnight
GG 9723 leaves 17 h 10 after UA 1504 arrives on the timetable: more than half a day, so not a connection we count.