Cook the ham and potatoes together at 325-350. (or somewhere in between). Put the potatoes in first then add the ham 10-15 minutes later.
Cook the carrots and the glazed ham together at 425-450 (or somewhere in between). Take the ham out then leave the carrots in for the extra time.
These minor temp differences won't matter.
"If you want to make an apple pie from scratch, you must first create the universe." -Carl Sagan