In a large bowl, dissolve the cherry-flavored gelatin in 2 cups of boiling water, stirring for about 2 minutes until completely dissolved.
Allow the gelatin mixture to cool slightly (about 10 minutes) but not set.
Using a fork or whisk, break up the cranberry sauce into smaller chunks and stir into the gelatin mixture until well combined.
Fold in the drained crushed pineapple. If using, add the diced apple and orange juice at this point.
Pour the mixture into a decorative mold or a 9x13 inch dish.
Refrigerate for at least 3 hours or until completely set.
Just before serving, sprinkle the chopped pecans over the top.
If using a mold, briefly dip the bottom in warm water to loosen before inverting onto a serving plate.