#include <bits/stdc++.h>
using namespace std;
int main() {
  long long t;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    string s;
    cin >> s;
    string t = "abacaba";
    long long cnt = 0;
    bool d = false;
    for (long long x = 0; x < n - 6; ++x) {
      if (s.substr(x, 7) == t) ++cnt;
    }
    if (cnt == 0) {
      for (long long x = 0; x < n - 6; ++x) {
        bool d2 = true;
        for (long long y = 0; y < 7; ++y) {
          if (s[x + y] != '?' && s[x + y] != t[y]) {
            d2 = false;
            break;
          }
        }
        if (!d2) continue;
        string q = s.substr(x, 7);
        s.erase(x, 7);
        s.insert(x, t);
        long long cnt2 = 0;
        for (long long z = 0; z < n - 6; ++z) {
          if (s.substr(z, 7) == t) ++cnt2;
        }
        if (cnt2 == 1) {
          d = true;
          break;
        } else {
          s.erase(x, 7);
          s.insert(x, q);
        }
      }
    } else if (cnt == 1)
      d = true;
    if (d) {
      cout << "Yes" << endl;
      for (auto x : s) {
        if (x == '?')
          cout << 'n';
        else
          cout << x;
      }
      cout << endl;
    } else
      cout << "No" << endl;
  }
  return 0;
}
