Fox is reworking its programming to fit in a special tribute episode for Marcia Wallace, who recently died and used to play teacher Edna Krabappel on The Simpsons, on Sunday, Nov. 3.

The television network will air back-to-back episodes, both intended as a tribute to Wallace and her character on the show. The first will be from the vault, Bart the Lover, which painted Krabappel's character -- who is otherwise quite cynical and mean -- in a sympathetic light. The episode first aired in 1992 during the show's third season.

When Bart discovers that his teacher is actually lonely and is seeking companionship through a personal ad, he starts sending Miss Krabappel love letters and even goes as far as to set her up on a fake date. But as he spies on her from afar, sitting by herself, he feels sorry for her and starts to work toward making amends.

The new episode, 4 Regrettings and a Funeral, will open with a "couch gag" spoof of The Hobbit, wherein the Simpsons set out on a dangerous expedition to retrieve the comfiest couch in Springfield.

The episode will conclude with a tribute card honoring Wallace from the producers of the show. Wallace died at the age of 70 on Oct. 26. She had been a breast cancer survivor for 28 years.

Celebrities Who Had Breast Cancer

"I was tremendously saddened to learn this morning of the passing of the brilliant and gracious Marcia Wallace," producer Al Jean said in a statement to Entertainment Weekly. "She was beloved by all at The Simpsons and we intend to retire her irreplaceable character."

Watch the "couch gag" spoof of The Hobbit here: