99 Prozent der Anwälte geben dem Rest einen schlechten Namen.
99 percent of lawyers give the rest a bad name.
Edit: Shouldn't it be "einen schlechten Name", if this is accusative. Why is -n added?
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Name belongs to an inflection class that has n in almost every ending.
Note, however, that one would rather say Ruf in your example.