Students at the prominent historically Black university in Washington, D.C., had been protesting poor housing conditions since Oct. 12. The details of the agreement were not immediately available.