Sounds like a problem with the firing pin block (in the slide). I have seen several 9mm S&Ws with the tip of the activation lever (in the frame) broken off, which I think could cause what you are seeing. There might also be some trash or metal shavings, etc. inside the channel, which could limit the travel of the block. Compare the lever to another that you know is working and see if it looks OK...if so, my guess is this problem is within your slide somewhere...just a guess.
If it has the mag safety (if it was made without one, it will be so marked) the trigger should simply "freewheel" with the slide on unless you insert a magazine. I have seen a few cases of improper interface between the mag safety lever and a specific magazine or two, but this does not sound like your problem.
Good Luck