Gerald M. Boyd , who began work as a teenage grocery bagger in St. Louis and rose to become managing editor of The New York Times , then was forced to resign in a newsroom revolt after a young reporter was exposed as a fabricator , died yesterday in Manhattan .