HI,
Yes. Name should be exactly same and should point to your R/3 client. Additionally, open the z copy of custom role that you created in PFCG.
As highlighted in attached screen-shot, for each and every menu link, wherever you find standard SAP rfc destination , change it to your custom RFC destination. Then do role upload. This will work
Regards,
Navya.