UA 5993 then GG 9723 at O'Hare
Salt Lake City → Chicago → Tokyo Narita
Timetable, Chicago time
20:31UA 5993 from Salt Lake City at the gate
10:30GG 9723 to Tokyo Narita leaves the gate
13 h 59 apart on the timetable, overnight
GG 9723 leaves 13 h 59 after UA 5993 arrives on the timetable: more than half a day, so not a connection we count.