UA 860 then AA 5038 at Dulles
São Paulo → Washington → Lynchburg
Timetable, Washington time
08:33UA 860 from São Paulo at the gate
08:20AA 5038 to Lynchburg leaves the gate
23 h 47 apart on the timetable, overnight
AA 5038 leaves 23 h 47 after UA 860 arrives on the timetable: more than half a day, so not a connection we count.