UA 336 then UA 5025 at Dulles
San Francisco → Washington → Morgantown
Timetable, Washington time
19:01UA 336 from San Francisco at the gate
12:40UA 5025 to Morgantown leaves the gate
17 h 39 apart on the timetable, overnight
UA 5025 leaves 17 h 39 after UA 336 arrives on the timetable: more than half a day, so not a connection we count.