I have owned all the brands except Nissan and used them hard. Most have been trouble free, but I did have two major failures with Chevrolet trucks, an engine oil catastrophic failure at just 1200 miles (thankfully in the driveway or it would have killed the engine), and a coolant in the transmission failure on an HD Silverado at just 35,000 mi and a month before the time warranty ran out. (low miles, but heavy use). A month later I would have had to pay for the repair ($8,000 on their paperwork, though I doubt it would cost that much).
Had major brake failure/abs issues on a Ram, overdrive gear went out and was fixed, and my brother's had a transmission fail just past 36K miles. Previous generation though.
The Toyota will hold more than just a little better resale. Industry source I checked says about 10% more of MSRP after 5 years, which could be $4-5K. It's an older design than others, though, and fuel economy won't be great, but gas is cheap now.
The Ram will have the ride quality and a great interior. The Toyota will cost less to own and be more reliable. The GM products always seem to be a little behind in materials quality and mid-pack on most things.
I would assume the Ram would be less stable towing.
If you like to keep trucks to 140,000 miles, I would definitely get the Toyota. My F150 4x4 isn't exactly a soft rider either. But at just 17,000 miles the transmission shifts are already clunky (towed every day for work).
I also have not liked the Ford seat comfort as much as other brands. Chevy was very good, actually.
The Toyota isn't the most advanced but it would probably be the most trouble free. Though nothing is guaranteed. I just happen to hate interruptions to take vehicles to/from shops.