WN 519 then UA 5399 at Denver
Boise → Denver → Madison
Timetable, Denver time
14:50WN 519 from Boise at the gate
13:40UA 5399 to Madison leaves the gate
22 h 50 apart on the timetable, overnight
UA 5399 leaves 22 h 50 after WN 519 arrives on the timetable: more than half a day, so not a connection we count.