In a saucepan, bring milk, water, butter and sugar to a boil. Remove saucepan from heat. Add flour all at once. Stir vigorously with a wooden spoon. Return pan to heat and continue stirring until the mixture forms a ball that pulls away from the sides of the pan, about 2 minutes.