Different eras.
Being a Democrat (as a private citizen) during the New Deal is a LOT different than being an elected Democrat DURING the Reagan Revolution.
Doesn’t matter. I think Reagan ran for POTUS after switching parties, sooner than Perry is now.