Display User Roles

I'm hoping someone can help me with this as I am stuck and not really sure how to proceed.

I renamed my user roles to custom names using a function that I placed in my function file. The new names show up under the users screen correctly.

The problem is that I've created a custom toolbar menu and I'd like to display the user role in this menu.

Currently, I get the user role to display but instead of showing my custom names, it shows "Administrator", "Editor", etc.

Could someone help me figure out how to tell it to display my custom names instead?

I'm sure I'm missing an obvious step but I've been searching for a solution for hours and my brain is a little fried.

I have 'title' => $user_role which displays the standard role.

I think I have to write a custom string? Any help would be appreciated! Thank you!