A man was arrested on Wednesday after he was caught planting an explosive device near a train car in Payette, Idaho.