AA 778 then AA 627 at Miami
Los Angeles → Miami → San Francisco
Timetable, Miami time
04:51AA 778 from Los Angeles at the gate
09:01AA 627 to San Francisco leaves the gate
4 h 10 apart on the timetable
The last days
AA 778 and AA 627 weren’t both flown 15 min to 12 h apart in the last 21 days.
Statistics from past flights, not live flight information. Always check times and your connection with your airline, and don’t base travel or booking decisions on these numbers.