I've had the good fortune of finding PT Moulded Hand Rail on the clearance pile at Home Depot.
https://www.homedepot.com/p/2-in-x-4-in-x-6-ft-Moulded-Handrail-Pressure-Treated-118353/203208261
I was able to cut off the damaged ends and fit for what I needed.