KJ 242 then AA 1624 at O'Hare
Anchorage → Chicago → New York JFK
Timetable, Chicago time
23:55KJ 242 from Anchorage at the gate
16:31AA 1624 to New York JFK leaves the gate
16 h 36 apart on the timetable, overnight
AA 1624 leaves 16 h 36 after KJ 242 arrives on the timetable: more than half a day, so not a connection we count.