Keibert Ruiz delivered the go-ahead home run in the seventh inning and finished with four RBIs as the Washington Nationals rallied past the Minnesota Twins 7-5.