A federal judge on Wednesday blocked the Trump administration from drastically cutting medical research funding.