In a small saucepan over medium heat, combine orange juice, brown sugar, butter, 1 teaspoon salt and 1/4 teaspoon pepper until butter has melted, about 4 minutes. Remove from heat; stir in vanilla, cinnamon, nutmeg and rosemary.
Preheat oven to 400 degrees F. Lightly oil a 9 x 13 baking dish or coat with nonstick spray.
Place potatoes into the prepared baking dish; stir in orange juice mixture.
Place into oven and bake, covered, for 40 minutes. Uncover; continue to bake for an additional 20 minutes, basting every 7-8 minutes until potatoes are tender and orange juice mixture is syrupy. Season with salt and pepper, to taste.
Let rest 5-10 minutes. Serve warm, garnished with pecans, if desired.
Notes
Use firm potatoes. When purchasing sweet potatoes, look for small to medium evenly shaped potatoes that are firm with smooth and taut skin.
Skip canned potatoes. Canned varieties come pre-cooked in a corn syrup mixture, yielding overly sweet, soft, mushy potatoes.
Cut in thick, uniform size. Slice the sweet potatoes into thick rounds (about 1/2-inch) in similar size for even cooking. Cutting them too thin will cause the potatoes to fall apart and turn into mush.
Use dark brown sugar. Dark brown sugar contains more molasses than light brown sugar, providing stronger and deeper flavors of caramel and toffee.
Fresh herbs are best. Although you can certainly substitute dried herbs, fresh herbs are ideal here, delivering the best kind of flavor. This is also a great time to use up all the leftover herbs from your holiday turkey or leg of lamb.
Cover first. Cover the baking dish with foil for the first portion of baking to steam the potatoes to let them get tender. Then continue baking uncovered for 15-20 minutes, basting every 7-8 minutes, until the liquid becomes thick and glossy.
Let it rest. Let the candied yams rest for at least 5 minutes prior to serving. This will allow the syrup to naturally thicken and cling to the sweet potatoes.
Add finishing touches. Add a little bit of orange zest, fresh herbs, or chopped pecans.