Well George Lucas did borrow a lot of stuff from samurai films (The Hidden Fortress being the main one), so that is a return to its roots. Personally, I think that Firefly did the cowboys in space a lot better, but maybe that's due to better writing. I did enjoy the Mandalorian, but it's a bit too shallow.
The concept in Mando is pretty much a direct rip of Lone Wolf and Cub, so I think it's really doing "Samurai in Space" more than "Cowboys"
Of course the cowboy and samurai pulp genres are pretty similar and borrowed a lot from each other. Lone Gunslinger with a code of honor versus a Lone Swordsman with a code of honor