WN 734 then AA 2917 at Miami
Baltimore → Miami → Chicago O'Hare
Timetable, Miami time
16:25WN 734 from Baltimore at the gate
15:39AA 2917 to Chicago O'Hare leaves the gate
23 h 14 apart on the timetable, overnight
AA 2917 leaves 23 h 14 after WN 734 arrives on the timetable: more than half a day, so not a connection we count.