Layer half the bread, half the cheese, and then the ham into your pan. Repeat layers.
In a separate bowl, mix eggs, milk, and melted butter in a bowl. Pour over layers.
Refrigerate, covered, overnight, or at least for 2 hours.
Bake at 350°F for 45-50 minutes.