Do you have the same issue in Teams web client?
According to your description, it seems this issue is related to your network environment. To make sure you have an stable network environment, it recommends you try to close irrelevant application to see if it works.
In addition, please check if you have enough bandwidth when sharing screen in Teams client. The following picture shows how Teams uses bandwidth for your reference:
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.