JA 5173 then LA 4902 at Bogotá
Santa Marta → Bogota → Lima
Timetable, Bogota time
11:10JA 5173 from Santa Marta at the gate
04:50LA 4902 to Lima leaves the gate
17 h 40 apart on the timetable, overnight
LA 4902 leaves 17 h 40 after JA 5173 arrives on the timetable: more than half a day, so not a connection we count.