Oil won't cause an overheat, unless you are running something crazy that your engine isn't designed to run.
10w30/10w40 are both spec'ed for that engine. You can debate which is "best" at what temps, but neither will cause your engine to explode with heat under normal conditions.
So. Overheat. You need to figure out the underlying problem that caused it first time away. You treated the symptom (blown head gasket) without figuring out the cause a.k.a the disease.
The 3vze is a overheating prone engine. I won't go into detail about it, you can search. It has a less than optimal cooling channel design that leaves cylinder 6 prone to overheating and HG failure, as well as warping.
Now, as for what caused the engine overheat. You have a ton of options. Air in coolant system, bad water pump. Stuck thermostat, clog in an internal coolant channel (usually caused by a piece of corrosion breaking off and getting stuck. Think a blot clot in the engine)... Dirty radiator. Bad engine fan, bad fan clutch. List goes on. Until you figure out what caused the initial head gasket failure, you will continue to have overheats..
which, every overheat will keep causing more and more warpage in your engine.