Apart from the robots forgetting to weld the frame - I know it's a thing, I've seen a few in facebook groups get bought back for it and it's been corrected on the production line - the Frontier is probably one of the better trucks in the segment.You want something that will make it to the first oil change. That's not a very lofty goal.
Never buy any vehicle that is in the first year run of production. The wrinkles are usually ironed out by the third year.
Never buy a Stellantis product. It won't be too long before Stellantis unloads Chrysler, Dodge, Jeep, and Ram.
Toyota Tundra is having major engine problems in their 1st year of production.
GM is having engine problems with their 6.2 gas pickups. Their 2.7 turbo and 3.0 Duramax are their best offerings.
Ford has their problems too.
You went from a smaller Nissan to a full size Ram.
If I were looking at new trucks, I would look at the Toyota Tacoma, Ford Ranger, GM Colorado and Canyon, Ford F-150, GMC Sierra.
As for the 6.2, in addition to them scattering with very low miles there are apparently problems with the fuel pump module going bad. And GM had the great idea on them that you can't shift out of park with the truck off ...