A naval program that has become a target for critics is preparing to commission a new vessel named after a well-known shooting survivor.