Amed Rosario entered Sunday’s game in an 0-for-11 funk, with just three extra-base hits in his last 21 games. But he broke out with solo homers in the sixth and seventh innings of the Mets’ 4-1 win over the D-backs, his first home runs since last August.