AA 2008 then UA 3682 at Newark
Miami → New York → Boston
Timetable, New York time
00:53AA 2008 from Miami at the gate
08:17UA 3682 to Boston leaves the gate
7 h 24 apart on the timetable
The last days
AA 2008 and UA 3682 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.