Programmatically check the checkbox of an exposed filter
I was finally able to achieve what I need via the hook_views_pre_build() hook. 

Please let me know if this is wrong or if there is a better way, but from what I can tell this is the best way to achieve this.

function module_views_pre_build(ViewExecutable $view) {
  $termId = 357;
  $view-&gt;setExposedInput(['field_name' =&gt; [$termId =&gt; $termId]]);
}