AA 3125 then AA 5174 at Charlotte
Madison → Charlotte → Dayton
Timetable, Charlotte time
19:31AA 3125 from Madison at the gate
18:24AA 5174 to Dayton leaves the gate
22 h 53 apart on the timetable, overnight
AA 5174 leaves 22 h 53 after AA 3125 arrives on the timetable: more than half a day, so not a connection we count.