To unlock the Third Time Lucky trophy in Red Dead Redemption 2 you must complete the "Goodbye, Dead Friend'" mission in chapter 6 of the game.
The trophy will unlock after reading a letter from Mary back at the gang's camp when the mission has ended.