AA 2230 then UA 4050 at Houston
Miami → Houston → Louisville
Timetable, Houston time
23:58AA 2230 from Miami at the gate
17:10UA 4050 to Louisville leaves the gate
17 h 12 apart on the timetable, overnight
UA 4050 leaves 17 h 12 after AA 2230 arrives on the timetable: more than half a day, so not a connection we count.