A man has been charged with assaulting police, false imprisonment, threats to kill and other offences following a carjacking and siege.