After being startled by return of family, gunman shoots man inside home