AA 1151 then JA 5158 at Bogotá
Miami → Bogota → Cartagena
Timetable, Bogota time
14:15AA 1151 from Miami at the gate
05:05JA 5158 to Cartagena leaves the gate
14 h 50 apart on the timetable, overnight
JA 5158 leaves 14 h 50 after AA 1151 arrives on the timetable: more than half a day, so not a connection we count.