AA 504 then UA 5566 at O'Hare
New York LaGuardia → Chicago → Pittsburgh
Timetable, Chicago time
13:19AA 504 from New York LaGuardia at the gate
12:48UA 5566 to Pittsburgh leaves the gate
23 h 29 apart on the timetable, overnight
UA 5566 leaves 23 h 29 after AA 504 arrives on the timetable: more than half a day, so not a connection we count.