Q-Zone
From the book jacket:

The puckish super-being called Q has bedeviled Captain Jean-Luc Picard and the crew of the Starship Enterprise since their first encounter at Farpoint Station. But little was known of Q's enigmatic past or that of the transcendent plane where he sometimes dwells. Now Picard must discover Q's secrets for the sake of all that exists.

While the Enterprise struggles to survive an alien onslaught, Captain Picard has been kidnapped by Q and taken on an astounding journey back through time to that immeasurably distant moment when the Continuum faced its greatest threat. But far more is at stake than simply the mysteries of the past, for an ancient menace is stirring once again, endangering the future of the galaxy, and neither Q nor Starfleet may be able to stop it!
Jean Luc Picard (Fictitious character), Fiction, Q (Fictitious character), collectionID:TNG#, Fiction, media tie-in
Greg Cox
Greg Cox (born 1959) is an American writer of science fiction, including works that are media tie-ins. He lives in Oxford, Pennsylvania.

He has written numerous Star Trek novels, including The Eugenics Wars (Volume One and Two), The Q Continuum, Assignment: Eternity, and The Black Shore. His short fiction can be found in such anthologies as Star Trek: Tales of the Dominion War, Star Trek: The Amazing Stories and Star Trek: Enterprise logs. His first "Khan" novel, The Eugenics Wars: Volume One, was voted best sci-fi book of the year by the readers of Dreamwatch magazine. Cox can be found in a bonus feature on the "Director's Edition" DVD of Star Trek II: The Wrath of Khan.