Interesting. I'd like to see that play on video.
Touching the ball in an attempt to block it generally absolves that player from restrictions regarding running into the kicker.
It is not a blanket pass to hit the kicker (punter) as some people think, especially if one plyer touches the ball and another hits the kicker. Plus, a player who gets a hand on the ball but then makes a concerted effort to charge into the kicker can still be flagged. The kicker is a defenseless player until he has a chance to regain his balance.
All those instances, however, are personal fouls.
I cannot think of how a player who touched or blocked a punt could be called for a 5-yard, running into the kicker.