UA 668 then UA 1036 at Houston
San Juan → Houston → Baltimore
Timetable, Houston time
18:56UA 668 from San Juan at the gate
18:40UA 1036 to Baltimore leaves the gate
23 h 44 apart on the timetable, overnight
UA 1036 leaves 23 h 44 after UA 668 arrives on the timetable: more than half a day, so not a connection we count.