UA 2824 then AA 5347 at Philadelphia
San Francisco → Philadelphia → Richmond
Timetable, Philadelphia time
17:15UA 2824 from San Francisco at the gate
10:02AA 5347 to Richmond leaves the gate
16 h 47 apart on the timetable, overnight
AA 5347 leaves 16 h 47 after UA 2824 arrives on the timetable: more than half a day, so not a connection we count.