The University of Alabama at Birmingham has received a $5 million grant to fight the opioid epidemic.