Afroman won’t have to go back to court for punching a woman onstage, because he’s settled the lawsuit with the victim … TMZ has learned. The trial was set to begin Tuesday, but sources close to the case confirm that it’s been taken off the…