UA 3913 then UA 1096 at Houston
Denver → Houston → San José (Costa Rica)
Timetable, Houston time
21:22UA 3913 from Denver at the gate
09:38UA 1096 to San José (Costa Rica) leaves the gate
12 h 16 apart on the timetable, overnight
UA 1096 leaves 12 h 16 after UA 3913 arrives on the timetable: more than half a day, so not a connection we count.