How to Toggle Selected Objects Visibility with H shortcut as in Maya
In Blender, the way selection works is a bit different. You can't really have something "selected" when it's hidden in the viewport.

You can hide an object with H, but to unhide, you generally either undo or alt-H to unhide all hidden objects. To have the same shortcut key do both an action and its opposite is pretty uncommon in Blender. The only thing I can think of is selecting all (A for select all AA to deselect all, but they are moving away from that by making alt-A deselect all).

https://www.youtube.com/watch?v=8SXSIQpYnl8