Hi Sumaira,
We need to use workflow to assign it amd enable Queues and Automatically move records to the owner's default queue when a record is created or assigned for the custom entity.
Step 1. Create a workflow.

Step 2. enable Queues and Automatically move records to the owner's default queue when a record is created or assigned for the custom entity.
