Wife had aimed shotgun at ex-husband and ‘might do the same to me’, court hears