UA 4040 then DL 1005 at Atlanta
Houston → Atlanta → Detroit
Timetable, Atlanta time
10:36UA 4040 from Houston at the gate
08:30DL 1005 to Detroit leaves the gate
21 h 54 apart on the timetable, overnight
DL 1005 leaves 21 h 54 after UA 4040 arrives on the timetable: more than half a day, so not a connection we count.