TK 6039 then UA 5904 at O'Hare
Istanbul → Chicago → Madison
Timetable, Chicago time
20:28TK 6039 from Istanbul at the gate
15:50UA 5904 to Madison leaves the gate
19 h 22 apart on the timetable, overnight
UA 5904 leaves 19 h 22 after TK 6039 arrives on the timetable: more than half a day, so not a connection we count.