How should I control the time and temperature when baking two dishes?
The ham should rest for at least 15 minutes after cooking, and probably longer than that.  So you could put the potatoes into the oven when the ham has 20 or 25 minutes remaining, and then when you take the ham out, increase the temperature to 350-375F and continue cooking the potatoes while the ham rests for 15-20 minutes.