QF 7554 then UA 1332 at O'Hare
New York JFK → Chicago → New York LaGuardia
Timetable, Chicago time
17:30QF 7554 from New York JFK at the gate
11:59UA 1332 to New York LaGuardia leaves the gate
18 h 29 apart on the timetable, overnight
UA 1332 leaves 18 h 29 after QF 7554 arrives on the timetable: more than half a day, so not a connection we count.