This is a simple project and you would need to find 5000 companies' contact number on yellow page.
The list of company names and the yellow page will be given to you. The task you need to do is just copy the company name into the search box of yellow page, search if there's any phone numbers, fill it into the Excel spreadsheet, and move onto the next company name. There are chances that you can't find any info on the page, in that case, you should just leave them blank.
This is a simple project and I expect the freelancer to complete it within a short period of time.