Researchers asked engineering students to tell stories about challenges they had faced. Telling the stories, students said, made them more likely to stay in their major.