J.J. McCarthy strung together a second straight strong game as the Minnesota Vikings beat the Dallas Cowboys 34-26 on Sunday.