UA 3873 then AA 2723 at O'Hare
Fort Worth → Chicago → New York LaGuardia
Timetable, Chicago time
17:55UA 3873 from Fort Worth at the gate
06:59AA 2723 to New York LaGuardia leaves the gate
13 h 04 apart on the timetable, overnight
AA 2723 leaves 13 h 04 after UA 3873 arrives on the timetable: more than half a day, so not a connection we count.