A Middletown man is charged with stealing thousands of books from several Connecticut libraries, scanning the stacks for the most valuable volumes and cashing in through a used book seller.