Disconnect the shift cable and then shift the engine manually (engine running). If things work ok that way, the problem is in the control box or the cable. You shouldn't try shifting an outboard with the engine stopped, Just like a stick shift car, if the gears aren't aligned they cannot engage. You can have someone turn the prop by hand if have an assistant.