AA 5585 then AA 5617 at Charlotte
Louisville → Charlotte → Pensacola
Timetable, Charlotte time
19:21AA 5585 from Louisville at the gate
15:21AA 5617 to Pensacola leaves the gate
20 h apart on the timetable, overnight
AA 5617 leaves 20 h after AA 5585 arrives on the timetable: more than half a day, so not a connection we count.