The route to setting national records was not a straight line. Ms. D’Amato coped with injuries and setbacks. But she had pledged to herself that running would remain “joyful,” and setting small goals made a big difference. So did incentives: She ended each long run with a root beer float.