How the name 'James T. Kirk' originate. I heard it might have come from the fact that Gene Roddenberry once lived in NJ and the name of a mayor from Elizabeth, NJ was James T. Kirk.
Actually, Memory Alpha has a good entry on this:
The name for Kirk wasn't decided until 1965. In a memo written by Gene Roddenberry to researcher Kellam de Forest on 18 May 1965, sixteen names were under consideration...
(list of 16 names omited, Kirk was #15)
"James Tiberius Kirk" was the final choice of name chosen to adorn the new TV show's hero. "James", derived from the Hebrew name Jacob, means "grasps the heel" or "grasps the bottom"; a colloquial equivalent would be "he gets it" or even "he groks". "Kirk" is the Lowland Scots word for "Church". "Tiberius" was first identified in TAS: "Bem", and mentioned again in Star Trek VI: The Undiscovered Country. Tiberius Caesar Augustus was the second Roman Emperor, known for his darkness and corruption, from the death of Augustus in 14 AD until his death in 37 AD. "Tiber" was the Latin name for the river that ran through the city of Rome. The name might also possibly have been influenced by the maverick Roman politician Tiberius Gracchus. (See also: Apocrypha) (citation needed • edit)