This is The Immortal Bard (in some copies of Earth is Room Enough, it's titled as "An Immortal Bard"), a short story by Isaac Asimov.
2 professors are having a drink at a cocktail party of sorts. The physics professor, Dr. Welsh, is moderately tipsy (read: pretty drunk). He strikes up a conversation with a young English professor, Dr. Robertson.
Welsh claims to have invented a technology to allow him to bring people back from the past. He's tried Archimedes, Newton, Galileo, and possibly others. However, they couldn't adjust to life in the 20th century. So next, he brings back Shakespeare.
Shakespeare is enthusiastic, and glad to hear that humanity loves his work. (Asimov is totally not biased) To see how people treat his works now, Welsh enrolls Shakespeare in an afternoon lecture course, taught by Robertson. Welsh then has to send Shakespeare back, not due to any mechanical error. Robertson flunked Shakespeare, and Shakespeare couldn't stand the embarrassment.