The man who was shot was attacking his son-in-law after killing his wife and daughter, Fairfax County police said.