Tyson Foerster tied the game late in the third and James van Riemsdyk provided the lone shootout goal as the Philadelphia Flyers defeated the Minnesota Wild 5-4 in extra time.