AA 9909 then UA 867 at O'Hare
Waterloo → Chicago → Tokyo Narita
Timetable, Chicago time
17:10AA 9909 from Waterloo at the gate
10:40UA 867 to Tokyo Narita leaves the gate
17 h 30 apart on the timetable, overnight
UA 867 leaves 17 h 30 after AA 9909 arrives on the timetable: more than half a day, so not a connection we count.