The first thing I would check is the gear-lube level. Hard shifting, or gear slippage, could be an indication of low oil.
I've never owned a Nissan outboard, but most have similar maintenance procedures. There should be two stainless steel bolts on the gear unit housing; the lower one, on the
lower unit - below the cavitation plate - is used for filling. The upper bolt, on the
upper housing, is the vent. Remove both the lower and upper bolts, drain all oil into a pan and discard. Check for water intrusion - evidenced by a milky, tanish colored oil consistency. This is a sure sign of possible damage to the gear housing seals, or O-rings.
With the proprietary hand
pump, either supplied with the gear lube bottle, or bought separately, screw the hose nozzle into the bottom fill vent. With the upper vent screw still removed,
pump oil into the gear housing until it spurts out of the upper vent. Then replace both screws, ensuring the O-rings are in place.
It's a good idea to drain/replace the gear lube before winter layup each year. I've done this each year with my tender's outboards and on the stern drives on all of the powerboats I've ever owned. This will extend the life of your lower & upper unit and provide smooth gear shifting.