Let \([\, x\,]\) denote the integer part of a real number x, and let \(\Vert x\Vert \) represent the distance from x to the nearest integer. We establish that for any irrational number \(\alpha \) and any real number \(\beta \) , and for any fixed \(\frac{99}{100}<\gamma <1\) , there exist infinitely many prime numbers p for which the inequality \(\begin{aligned} \Vert \alpha p^4+\beta \Vert <p^{\frac{99-100\gamma }{199}+\varepsilon } \end{aligned}\) holds, where \(p=[n^{1/\gamma }].\)