He was trespassing on private property. Shooting him would be assault. Going to the door armed is not
Pointing it at him would be ag assault. Shooting him would be murder/attemped murder.