The query looks correct. It will return all jobs that are newer than 2 weeks old and where either the ID3rdPty or ShprID is in the $ids array.
However, if you want to make sure that both conditions are met (i.e. the job is newer than 2 weeks old and either the ID3rdPty or ShprID is in the $ids array), you should use nested where clauses instead of orWhere.
Here's an example:
$results = DB::connection('sqlsrv')->table('dbo.tabJob')
->where('TimeNow', '>', $twoWeeksAgo .' 00:00:00')
->where(function($query) use($ids){
$query->whereIn('ID3rdPty', $ids)
->orWhereIn('ShprID', $ids);
})
->get()->toArray();
This will return all jobs that are newer than 2 weeks old and where either the ID3rdPty or ShprID is in the $ids array.