One on my computer's with a Ryzen 3 1300x and Gtx 760 play nicely so i would imagine that a newer card would work fine with your Ryzen 5. The only thing I would be concerned about is your graphics memory. If you don't have the appropriate memory, you'll run into bottlenecks.
If you have a 2gb...