Manchin and Heitkamp are Dems because they are able to win in conservative "Red" States. if they were to change parties, they would be to "liberal" to win in a GOP primary. A party that is mostly made of Tea Party/Trumpsters at this point.
McCain, for all his talk still votes straight GOP almost every time. The healthcare vote was an outlier.
Chafee currently is a Democrat.