WN 864 then UA 5057 at Denver
Burbank → Denver → Roswell
Timetable, Denver time
16:35WN 864 from Burbank at the gate
15:40UA 5057 to Roswell leaves the gate
23 h 05 apart on the timetable, overnight
UA 5057 leaves 23 h 05 after WN 864 arrives on the timetable: more than half a day, so not a connection we count.