Safari Switch to Last Active Tab
Have you checked out Recent Tab List? It's a Safari extension that allows you to manage open tabs and recently closed tabs in Safari.

You can reopen closed tabs quickly, as well as switch to open tabs. It also provides search functionality, so you can search for a tab. This is particularly useful if you have many tabs open across multiple windows.

Note: I am in no way affiliated with this extension.