@jesusrodri90005 first off, yes, this sounds like it is the IR Sensor. Even so the images are not quite clear, the solder joints do not look right at all. It even appears (could just be the images) that there is a solder bridge between GRD and the 5V as well as some cracked solder joints.. Of course, you could solder the components, clean the board and solder pads and then solder the components since we do not know about the availability of spare parts for the TV. Give it a try and see if that fixed it.
[image|2996071]
+
+
=== Update (07/11/23) ===
+
@jesusrodri90005 could be a little bit of corrosion. IF nothing else just remove the boards and clean it with some high grade +90% isopropyl alcohol. It can't hurt.
+
+
I added an image to my answer. Check the component in area 1 Looks like a diode (the one with the three legs. 2 on one side and one on the opposite). See if you can make out the writing on it. Area 2 has some "fuzzy" area and may be it's just the image but double check that area if there is anything "odd"
@jesusrodri90005 first off, yes, this sounds like it is the IR Sensor. Even so the images are not quite clear, the solder joints do not look right at all. It even appears (could just be the images) that there is a solder bridge between GRD and the 5V as well as some cracked solder joints.. Of course, you could solder the components, clean the board and solder pads and then solder the components since we do not know about the availability of spare parts for the TV. Give it a try and see if that fixed it.
[image|2996071]