That isn't funny. It's scary. That raccoon could have been rabid. And dogs might have been vaccinated, but people generally are not.
If the guy is leaving food out for his dog there, maybe he should make sure that by dusk the food is picked up. No reason to draw raccoons in. But raccoons are viscious wild animals and they do get rabies. We get a rabid coon or two out in the tri-county area usually every year. Raccoons and skunks seem to be the most common around our area.
I don't understand why after he threw it, went after it again. Get the dog to a vet and revaccinated and get himself taken care of too. Admittedly, raccoon flinging could be effective if ever necessary.