Edward Cabrera tossed five innings of two-hit ball and the Miami Marlins used a four-run fourth to beat the Mets 4-0 in their regular-season finale, preventing New York from making the playoffs.