The New York Rangers capped a wild day of trades and reported contract extension agreements with a much-needed victory.