U.S. prosecutors on Thursday said a software engineer has been indicted on charges he stole trade secrets from the suburban Chicago locomotive manufacturer where he once worked and took them to China.