I understand your frustration, and how painful these events must be for your family. I'm sorry to hear that you are enduring such troubles.
But I want you to keep a few things in mind for the sake of objectivity:
1) You are naturally going to be somewhat biased in favor of your son.
2) It appears as though you weren't present at the hearing, so your impression of what happened there, and your statements regarding the events, are based solely on the one-sided account given by your son.
3) By the time the parties went in front of the judge, he already reviewed all of the arguments and evidence that were presented, and probably already came to a decision. The purpose of the hearing is basically to give the parties one last chance to state cases that have already been made on paper, and for the judge to seek clarification where needed.
4) The accepted default position in any custody hearing is that the mother will have primary custody. If the father wants custody, he will have to overcome this predisposition. In other words, all else being equal, the mother will get custody the vast majority of the time.
The father will basically have to show that the mother is grossly unfit to raise a child if he wants primary custody. I don't necessarily agree with this. It's a rather sexist remnant of outdated ideals regarding parenting. But like it or not, it's just the way family law functions.
5) In making a custody determination, the judge is not going to look at which parent has a better house, who makes more money, who held a higher regard for the sanctity of marriage, or who has the most likeable boyfriend/girlfried.
The bottom line is what is in the best interest of the child. And as I eluded to above, there is a presumption that the child is better off with the mother.
Now, it sounds to me like the judge did his best to reach a fair outcome. Basically, he granted 50/50 custody and parenting time. Is it a good thing that the kid is going to have to travel across the country every month? No. Is it a good thing that the kid is going to have to completely switch gears every 30 days? No.
Is it fair for your husband to have to shell out a bunch of money every two months because his ex wants to move to the other side of the country? No. Alot of this is far from ideal. But it sounds like the judge did the best he could with what he was given.
Best regards to you and your family. I hope this situation gets easier for you. I hate to think of how you're going to work this out when the kid starts school.