Jailbreak and update from 3.1 to iOS 4

I have a 16GB 3GS running version 3.1 (7C144), baseband 05.11.07 and iBoot-359.3. It is currently not jailbroken.

My goal here is to get it on iOS 4.0 and jailbroken.

Am I correct that I should be able to run blackra1n and then restore using a custom 4.0 ipsw? For the restore I planned on using the following instructions, which I have already used on my 32GB 3GS successfully (which has been jailbroken since 3.1).

www dot redmondpie dot com / pwnagetool-4.0-jailbreak-ios-4-iphone-3g-3gs

Thanks guys/gals!

Original thread: https://forums.imore.com/threads/jailbreak-and-update-from-3-1-to-ios-4.192633/