The Principle of Fair Use
Jamesaritchie said:
If the book in question is still under copyright, you can only do this if you parady the original book. This is how "The Wind Done Gone" was allowed to be published.
If the book is in the public domain, you can do pretty much anything you want, in any way you want.
Permit me to elaborate a bit on Jamesaritchie's comment ...
Many people mistakely believe that U.S. copyright protection is the first and last word -- not so, for the principle of Fair Use trumps copyright -- if certain conditions are met.
Fair Use provisions -- the compromise between providing an incentive for people to create things (i.e. to profit from their creations via copyrights/patents/etc) and providing for the advancement of society through the free flow of information.
So, for example, a critic generally cannot be successfully sued for copyright violation for quoting the book (etc) he or she is critiquing. A comedian generally cannot be successfully sued for copyright violation for using the melody of a song when he or she re-write the lyrics for a political satire show.
I am qualifying my comments with the word "generally" because only a court can determine if a specific case satisfies the conditions of Fair Use. For example -- Did the accused financially profit at the plaintiff's expense? Was the accused using the copyrighted material for educational purposes? journalistic purposes? Did the accused use only as much of the copyrighted material as necessary (minimum possible)? etc etc
So, yes, "The Wind Done Gone" was successfully defended against charges of copyright infringement in court based on the Fair Use provisions regarding parody.