AA 2819 then K4 810 at O'Hare
New York JFK → Chicago → Anchorage
Timetable, Chicago time
09:30AA 2819 from New York JFK at the gate
04:00K4 810 to Anchorage leaves the gate
18 h 30 apart on the timetable, overnight
K4 810 leaves 18 h 30 after AA 2819 arrives on the timetable: more than half a day, so not a connection we count.