Gunman arrested after stand-off