Mad Tommy
Before Bad company
Before he was part of Bad Company he was in Kano's unit. When the unit was captured by the Krool, he managed to escape while Kano was
experimented on by the Krool. Tommy remained near the Krool encampment, sorting through the dead bodies of the Krool's victims on a regular basis to see if Kano would be among them.
Finally Kano managed to break out of the Krool camp and Tommy aided him, tending to him while he recovered from his ordeal. He was the one who retrived part of a human brain and put it into the black box to help Kano overcome what the Krool had done to him.
Tommy realised that Kano would likely kill him to protect the secret of the black box, so he began to act crazy, pretending that he was in World War II battling against the nazis. He hoped that by acting crazy Kano wouldn't kill him and it turned out he was right. Kano kept him alongside him as they added recruits to their new unit; Bad Company.
Bad Company
Mad Tommy continued with his act, not letting on to any of the new recruits that he wasn't actually crazy.
He was one of the few to survive the final battle or Ararat and it was then that he revealed his story to Danny Franks and Mac.
Mad Tommy remained with Bad Company into the 2nd incarnation. He started to return to his WWII persona. Was he really going mad this time or had he just decided to keep up the charade?
I
Ironically it was Kano who ultimately killed Mad Tommy when he was suffering from Neuroflips and with the Krool (who had the other half of his brain) in control, he choked Mad Tommy to death.
This was not the last we saw of Mad Tommy. Tommy returned as a ghost in Bad Company-Kano to aid Kano. He then appeared in "First Casualties", supposedly alive in a Veteran's home with Danny, although later, when Danny's meds wore off, he remembered Tommy being killed by Kano and sending his coffin out into space.
We never got an explanation for how he could still be alive. Was his brain taken from his body after his death and returned later to his reanimated corpse? (The suggestion is there due to the removal of Mac's brain by Malarkey in "Terrorists"). Was he undead? Or was he simply a manifestation like Golgotha Joe?
Tommy, along with his Bad Company mates, discovered the truth about how the Krool War started and when they tried to make it public, they were branded Terrorists by those trying to keep the truth hidden. They then set off on a mission to find proof of the conspiracy. Kano found the proof but kept it a secret so that Bad Company would remain together on a mission.
Mad Tommy remained in Bad Company, still acting like it was World War II. The last we saw he was continuing on their mission to find proof of the Ararat War Conspiracy.