Man pleads guilty to shooting fired employee; sentenced to 1