In a large mixing bowl, beat the sugars and butter together.
Add pudding mix. Be sure to scrape down the bowl.
Add the eggs and root beer extract. Combine the flour and baking soda, then slowly add to the mixture. Beat well.
On a greased cookie sheet, drop one-inch balls of cookie dough.
Bake for nine minutes in a 350 degree oven.
When cooled, dust with powdered sugar.