I don't know how formal your sc crt is.
The top form of a filing is the 'caption' - the identification of the court by state, county and type, the name of the parties, the case number and the name of the Motion (eg: Substitution of Attorney).
The format under the caption is usually similar to this:
THE COURT AND ALL PARTIES ARE NOTIFIED THAT (your name & your party specification - plaintiff/petitioner or defendant/respondent): makes the following substitution:
1. Former legal representative
Party represented self , or
Attorney (name):
2. New legal representative
Party is representing self, or
Attorney
a. Name:
b. State Bar No.:
c. Address (number, street, city, ZIP, and law firm name, if applicable):
d. Telephone No. (include area code):
3. I consent to this substitution.
Date:
_____________________________ _________________________________
(TYPE OR PRINT NAME) (SIGNATURE OF PARTY - you)
4. I consent to this substitution.
Date:
___________________________ ____________________________
(TYPE OR PRINT NAME) (SIGNATURE OF FORMER ATTORNEY)
5. I consent to this substitution.
Date:
____________________________ ______________________________
(TYPE OR PRINT NAME) (SIGNATURE OF NEW ATTORNEY)