Man sentenced for breaking into home and threatening to kill