UA 3915 then AA 3517 at O'Hare
Miami → Chicago → Rochester (ROC)
Timetable, Chicago time
22:25UA 3915 from Miami at the gate
21:04AA 3517 to Rochester (ROC) leaves the gate
22 h 39 apart on the timetable, overnight
AA 3517 leaves 22 h 39 after UA 3915 arrives on the timetable: more than half a day, so not a connection we count.