Colleges and universities in Massachusetts are set to receive the money as part of a federal relief package intended to help schools and students during the coronavirus pandemic.