Alex Ovechkin scored with 58 seconds left and goalie Phillip Grubauer off for an extra attacker to cap a late three-goal rally and the Washington Capitals went on to beat the Philadelphia Flyers 5-4 in a shootout Sunday.