Key features remembered: man becomes lawman that had died. All memories of prior individual implanted in his memory. I believe he was called "Wolf" Barton ( not sure on last name. Planet was seeded with towns from old west. People ha "jack" under arm where memories could be downloaded. There was a sidekick who was an obnoxious advanced alien who was pure energy. Also there was an insectoid matriarchal race that befriends him & he is made a prince by the queen. There is a remnant race on the planet that are like giant dogs/small bears who are friendly and have many special characteristics. Wolf befriends one and becomes a blood brother. They are the last peace loving remnant of a previous war like race. At one point he is sent back to earth, but ends up back where now feels he belongs.