KJ 242 then AA 1073 at O'Hare
Anchorage → Chicago → Buffalo
Timetable, Chicago time
23:55KJ 242 from Anchorage at the gate
19:00AA 1073 to Buffalo leaves the gate
19 h 05 apart on the timetable, overnight
AA 1073 leaves 19 h 05 after KJ 242 arrives on the timetable: more than half a day, so not a connection we count.