Mr. Rickman will play a "brilliant but unpredictable author" in "Seminar," a dark comedy by Theresa Rebeck that will open on Broadway in the fall.