Chris Kreider scored the tiebreaking short-handed goal midway through the third period and the New York Rangers rallied to beat the Boston Bruins 3-2.