The world’s largest consumer book publisher is jumping into the literary knickknacks and T-shirt business.

Penguin Random House, majority owned by Bertelsmann SE, said Wednesday that it has acquired the literary merchandise company Out of Print for an undisclosed sum.

Out of Print licenses literary-themed works and illustrations from copyright...