AA 1151 then P5 7230 at Bogotá
Miami → Bogota → Cartagena
Timetable, Bogota time
14:15AA 1151 from Miami at the gate
08:45P5 7230 to Cartagena leaves the gate
18 h 30 apart on the timetable, overnight
P5 7230 leaves 18 h 30 after AA 1151 arrives on the timetable: more than half a day, so not a connection we count.