Adjust oven rack to lower-middle position and heat oven to 350 degrees. Grease and flour a 9- by 5-inch loaf pan.
Mix flour, sugar, baking powder, baking soda and salt in a medium bowl. Meanwhile combine egg, milk and butter in a small bowl. Add wet mix to dry mix and combine thoroughly then stir in cranberries.
Pour batter into prepared pan. Sprinkle with raw sugar. Bake until golden brown and a cake tester comes clean, about 1 hour 15 minutes. Let cool for a few minutes. Run a knife around pan to loosen bread. Turn onto a wire rack to cool completely.