Programatically insert field value of for a taxonomy term
Should just need to do:

$new_term = \Drupal\taxonomy\Entity\Term::create([
 'vid' =&gt; 'field_school_name',
 'name' =&gt; 'ABCD',
 'field_school_id' =&gt; '1234'
]);