Bake one pie shell according to package directions. Remove the second pie shell from the foil pan and place on a lightly floured work surface. Using a 2-inch (5cm) gingerbread man-shaped cookie cutter, cut 8-10 pieces and place on a parchment paper-lined baking sheet. Brush lightly with egg and bake for 10 minutes or until golden brown. Remove from the oven and cool.
Heat butter and brown sugar in a small saucepan over medium heat, stirring occasionally until bubbly. Whisk in cream and molasses and stir until it begins to simmer.
Whisk together egg yolks, cornstarch, spices, salt and milk in a small bowl. Slowly add a small amount of the hot mixture into the egg mixture stirring constantly. Add the egg mixture back into the hot cream mixture and continue to stir over medium heat until thickened and just starting to boil.
Pour the filling into the baked pie shell. Cover the surface with plastic wrap directly on the filling and chill until set, at least four hours.
Decorate the gingerbread man cookie shapes with white icing. Top the pie with whipped topping and arrange gingerbread man shapes on top just before serving.