You might be well-served by looking on calguns.net. They have LOTS of info regarding this issue.
Look for the FAQ relating to the castle doctrine.
The above is not intended to be legal advice, but may be used for general information. Please contact an attorney for specific help tailored to your needs. www.figgardenlaw.com
These are handled by a case by case basis and the facts will matter.
Mr. Driessen is a former Deputy DA in Orange County with over 8 years of criminal law experience. Nothing stated on this site shall in anyway be construed as legal advice, or as creating any attorney client relationship. If you would like to hire Mr. Driessen, feel free to contact him at www.theocduiguy.com.
Depending on the circumstances, yes, you could be charged criminally for shooting an intruder. Even if you are charged, you should be able to assert a self defense argument.
But generally speaking, just the fact that someone broke into your home does not give you unfettered right to shoot them.