You haven't said what you're towing (sorry if you did and I missed it
Based on the VINs in your OP, IMO the critical weight ratings for each truck are:
GCWR = 18300.0 min 25300.0 max / 20500.0 min 24500.0 max
GVWR = 9000.0 min 10000.0 max / 9500.0 min 10000.0 max
GAWR-rear = 6200.0 min 6500.0 max / 6200.0 min 6700.0 max
Not sure what differentiates between the min and max weight ratings.
But the weights are a push or maybe a slight edge to the Chevy.
IMO both are good choices from a towing perspective, maintainability, and performance, so it come down to which one you feel rides the best and is the most comfortable.
FYI - earlier years of RAM trucks (2006 - 2008 I think) had a problem with violent front end vibrations at highway speeds after hitting a bump in the pavement, called a "Death Wobble". Do a Google search on "RAM Death Wobble". But I believe they have resolved that issue. You may want to do your own research to confirm this.