The GolaStardate 5470 / A Mirror for Futility
The U.S.S. Enterprise encounters two war vessels that have been a war so long no one on either side lives and only the two vessels shoot at each other in a never ending battle run by their on board computers. Captain James Kirk and his crew trick the ships into leaving Federation space.
Stardate 6134.6 / The Time Stealer
The Enterprise encounters a giant space entity known as the Gola that warps time. When Spock discovers that it is an infant the crew takes it home. They also run into two fellow humans from Earth who left the planet in the age of the barbarians and still live as such.
— Description from Comic Vine community (comicvine.gamespot.com).