PSG has now secured the season-opening cup on fourteen separate times.
Paris Saint-Germain needed a stoppage-time leveler followed by a perfect spot-kick decider to get past Marseille in the Gulf and capture a record-extending fourth consecutive Trophee des Champions title.
The European champions appeared to be coasting towards a comfortable win in the match between the French league winners and the French Cup holders after the French winger opened the scoring in the opening stages.
Yet, the southern French side fired two times late to take a shock lead. First, Mason Greenwood scored from the spot-kick, before the defender inadvertently turned the ball into his own net for an own goal.
In a breathtaking twist of fortune, the Portuguese striker grabbed a vital equaliser in the dying moments to force the contest into a penalty shootout. The Parisian shot-stopper Lucas Chevalier then stood as the hero, stopping crucial attempts from O'Riley and Traore.
In the shootout, Ramos, the midfielder, Nuno Mendes, and Desire Doue all scored successfully for Paris Saint-Germain to seal a 4-1 penalty victory.
Now 14-time champions Paris Saint-Germain, who faced last season's Ligue 1 second-placed team Marseille after achieving a league and cup double, have now won this competition for the twelfth time in the last thirteen seasons.