No. 4 Michigan State scored three second-period goals and then held on late for a 4-3 win over No. 2 Wisconsin on Thursday.