Like most such cases, it would depend on the totality of the circumstances. At this point, you have not given sufficiently detailed information to really judge... but generally speaking NO, it is not okay to shoot someone simply because they are in POSSESSION of a firearm, except under certain particular circumstances.
Brandishing in a threatening manner is different.
So, it depends. Try a more specific scenario and I will give you an honest analysis.