Suso and Nikola Kalinic were amongst the goalscorers for Milan as victory eased pressure on coach Vincenzo Montella.
Afterwards, Montella stated: "It was the group's victory, in the last games we have shown important temperament. This difficulty has made us begin to become better.
"When things go wrong, there are always mistakes. If the team gives the right answers, the coach has some merit, I made some mistakes, I have identified them and I hope to have them resolved, hoping the field will give us the answers.
"I think from the match with Roma we have given important signs."