NEW YORK (AP) -- Jesse Tyler Ferguson is heading from modern to classic -- the "Modern Family" star is going to star this summer in William Shakespeare's "The Comedy of Errors" in Central Park.

The Public Theater announced Tuesday that Ferguson will play Dromio opposite Hamish Linklater's Antipholus for five weeks at the Delacorte Theatre starting May 28.

Ferguson is no stranger to playing Shakespeare in the park, having starred in "A Winter's Tale" there in 2010 and "A Midsummer Night's Dream" in 2007. He and Linklater will play two sets of identical brothers, all equally clueless that their twins are in town and causing confusion.

Linklater, who played opposite both Julia Louis Dreyfus on "The New Adventures of Old Christine" and Alan Rickman on Broadway in Theresa Rebeck's "Seminar," was also in that production of "A Winter's Tale." He also appeared in "The Merchant of Venice" in the park in 2010 with Al Pacino and is currently in the series "The Newsroom." He said he can't wait to return to the Delacorte Theatre.

"I love it there. I want to act in a big outdoor space where people pay by lining up -- they pay with their time instead of their money," he said.