Technically these can be done at the same time. Registering a domain takes less than a couple of minutes and registering a business does take longer, but once the registration is in, you have the priority of the name as long as someone else doesn’t have it first.