Accused gunman arrested in North Texas