How can I fix the GPS problem that occured after jailbreaking iPhone 3GS 4.2.1?
You'll need a copy of your old SHSH blobs. If you don't have it, I don't believe you will be able to downgrade.

If you have your old blobs, grab a copy of the older firmware and follow various guides