I had the same problem with my Shield .40. It was me, not the gun...
I had the exact same issue with my Shield .40 and it was corrected with a simple, 1/2 hour hands on lesson with an instructor at the range I shoot at. For me, it was trigger control. I was anticipating the recoil and jerking the trigger. I am right handed and am venturing a guess you are as well. The instructor had me fire 1 round and keep the trigger depressed, then slowly let the trigger reset just until it clicks keeping pressure on the trigger throughout this process, line up the sights and very, very slowly squeeze the trigger until it fires, you want it to surprise you. If you want to confirm it is a trigger control issue, have someone load one of your magazines with some live rounds and alternate a couple of snap caps in, (so you don't know when the dummy round is chambered). I bet you'll notice that when you pull the trigger while snap cap is chambered, the muzzle will dip slightly down and to the left.
I had the exact same issue with my Shield .40 and it was corrected with a simple, 1/2 hour hands on lesson with an instructor at the range I shoot at. For me, it was trigger control. I was anticipating the recoil and jerking the trigger. I am right handed and am venturing a guess you are as well. The instructor had me fire 1 round and keep the trigger depressed, then slowly let the trigger reset just until it clicks keeping pressure on the trigger throughout this process, line up the sights and very, very slowly squeeze the trigger until it fires, you want it to surprise you. If you want to confirm it is a trigger control issue, have someone load one of your magazines with some live rounds and alternate a couple of snap caps in, (so you don't know when the dummy round is chambered). I bet you'll notice that when you pull the trigger while snap cap is chambered, the muzzle will dip slightly down and to the left.