A woman boarding a bus when she was suddenly trapped between the closing doors agreed to a $675,000 settlement of her Middlesex County suit.