In a small saucepan, melt the unsalted butter over medium heat. Allow it to cook until it turns a golden brown color and develops a nutty aroma. Remove from heat and let it cool slightly.
In a large mixing bowl, whisk together the all-purpose flour, baking powder, salt, light brown sugar, cayenne pepper, and freshly cracked black pepper.
Stir in the finely chopped fresh rosemary and half of the grated Parmesan cheese into the dry ingredients.
In a separate bowl, whisk together the whole milk, ricotta cheese, and the room temperature egg until smooth. Then, add the browned butter, mixing well.
Pour the wet mixture into the dry ingredients, and gently fold everything together using a rubber spatula. Be careful not to overmix; it’s okay if there are a few lumps.
Finally, fold in the cubed mozzarella cheese, ensuring it's evenly distributed throughout the batter.
Preheat your oven to 375°F (190°C). Grease your baking dish or loaf pan and transfer the batter into it. Sprinkle the remaining Parmesan cheese on top. Bake for 30-35 minutes, or until the bread is golden brown and a toothpick inserted in the center comes out clean.
Allow the bread to cool in the pan for about 10 minutes before transferring it to a wire rack. Once cooled, slice and serve warm!