Man charged with burglary and assault with a weapon