Nos últimos anos, a influência das mídias sociais nas eleições em todo o mundo tornou-se cada vez mais evidente, como exemplo, o Twitter. Os textos postados no Twitter têm atraído atenção significativa como uma importante fonte de informações que podem orientar muitos processos de tomada de decisão. No entanto, torna-se difícil analisar manualmente todos os comentários sobre um determinado assunto na internet. Neste contexto, o objetivo deste estudo é explorar a aplicação da combinação do GPT-3 e Aprendizado de Máquina para a análise de sentimento de postagens de usuários no Twitter durante o segundo turno das eleições presidenciais brasileiras de 2022. Os resultados revelam que a combinação do GPT-3 e Aprendizado de Máquina foi capaz de classificar e identificar com precisão os sentimentos das postagens de usuários no Twitter. O método proposto, obteve uma acurácia de 90,88% usando o algoritmo de classificação Multinomial Naive Bayes.