About two-thirds of the African-American students who enter a historically black college or university fail to finish in six years, but for those who graduate, such schools do a better job preparing them for life after college than other schools do for their black graduates.

The insight comes from a survey of 55,812 adults who received bachelor’s degrees between 1940 and 2015. The study, begun by Purdue University President Mitch...