UA 3905 then UA 5485 at Houston
Cancún → Houston → Birmingham (Alabama)
Timetable, Houston time
13:29UA 3905 from Cancún at the gate
07:35UA 5485 to Birmingham (Alabama) leaves the gate
18 h 06 apart on the timetable, overnight
UA 5485 leaves 18 h 06 after UA 3905 arrives on the timetable: more than half a day, so not a connection we count.