Thanks Scott.
I already took apart the carb and everything seems to be in order. The float is not stuck and it's getting plenty of gas. Then it dawned on me that it seemed to be OK until I released the starter switch which makes me think it's electrical.