AC 87 then AA 5030 at Toronto Pearson
Lima → Toronto → Charlotte
Timetable, Toronto time
16:00AC 87 from Lima at the gate
15:49AA 5030 to Charlotte leaves the gate
23 h 49 apart on the timetable, overnight
AA 5030 leaves 23 h 49 after AC 87 arrives on the timetable: more than half a day, so not a connection we count.