UA 2785 then WN 3059 at Miami
Newark → Miami → Baltimore
Timetable, Miami time
12:09UA 2785 from Newark at the gate
11:35WN 3059 to Baltimore leaves the gate
23 h 26 apart on the timetable, overnight
WN 3059 leaves 23 h 26 after UA 2785 arrives on the timetable: more than half a day, so not a connection we count.