More than likely....no.
If the gun shop took the gun in on consignment, they may have the previous owners information, but they do not have to give it to you.
As far as I know, there is no way to trace gun ownership on-line.
Edit: JDB beat me to it...