Police: Man fatally shot after invading home, making threats