QF 7554 then UA 8157 at O'Hare
New York JFK → Chicago → Tampa
Timetable, Chicago time
17:30QF 7554 from New York JFK at the gate
13:55UA 8157 to Tampa leaves the gate
20 h 25 apart on the timetable, overnight
UA 8157 leaves 20 h 25 after QF 7554 arrives on the timetable: more than half a day, so not a connection we count.