AA 2367 then LA 2695 at Miami
Santo Domingo → Miami → Lima
Timetable, Miami time
17:01AA 2367 from Santo Domingo at the gate
16:45LA 2695 to Lima leaves the gate
23 h 44 apart on the timetable, overnight
LA 2695 leaves 23 h 44 after AA 2367 arrives on the timetable: more than half a day, so not a connection we count.