UA 1882 then UA 2030 at Denver
Nashville → Denver → Cancún
Timetable, Denver time
10:20UA 1882 from Nashville at the gate
09:42UA 2030 to Cancún leaves the gate
23 h 22 apart on the timetable, overnight
UA 2030 leaves 23 h 22 after UA 1882 arrives on the timetable: more than half a day, so not a connection we count.