I don't think you'll need a JOIN here. If I am interpreting correctly, your tblDep has a column with the number of employees (let's call it 'nremp') in department depid. So why not use:
select *
from tblEmp, tblDep
where tblEmp.depid = tblDep.depid
and tblDep.nremp >= 5
;