Boston broke a tie game with a sacrifice fly in the top of the ninth off Cardinals closer Trevor Rosenthal.